Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
test
Browse files
app.py
CHANGED
@@ -342,12 +342,12 @@ def run_bot():
|
|
342 |
bot.run(DISCORD_TOKEN)
|
343 |
threading.Thread(target=run_bot).start()
|
344 |
|
345 |
-
URL = "https://docs.google.com/spreadsheets/d/1hQSsIg1Y9WdBF_CdNM1L1rUUREoxKqRTe3_ILo-WK8w/edit#gid=0"
|
346 |
-
csv_url = URL.replace('/edit#gid=', '/export?format=csv&gid=')
|
347 |
|
348 |
|
349 |
def get_data():
|
350 |
-
data = pd.read_csv(csv_url)
|
351 |
first_3_columns = data.iloc[:, 1:4]
|
352 |
first_3_columns.to_csv('first_3_columns.csv', index=False)
|
353 |
return first_3_columns
|
|
|
342 |
bot.run(DISCORD_TOKEN)
|
343 |
threading.Thread(target=run_bot).start()
|
344 |
|
345 |
+
#URL = "https://docs.google.com/spreadsheets/d/1hQSsIg1Y9WdBF_CdNM1L1rUUREoxKqRTe3_ILo-WK8w/edit#gid=0"
|
346 |
+
#csv_url = URL.replace('/edit#gid=', '/export?format=csv&gid=')
|
347 |
|
348 |
|
349 |
def get_data():
|
350 |
+
#data = pd.read_csv(csv_url)
|
351 |
first_3_columns = data.iloc[:, 1:4]
|
352 |
first_3_columns.to_csv('first_3_columns.csv', index=False)
|
353 |
return first_3_columns
|