Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
async - > def
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ async def on_ready():
|
|
| 73 |
except Exception as e:
|
| 74 |
print(f"on_message Error: {e}")
|
| 75 |
|
| 76 |
-
|
| 77 |
"""save data from HF Space -> google sheets (makes 1 API call)"""
|
| 78 |
# run this in separate thread?
|
| 79 |
try:
|
|
|
|
| 73 |
except Exception as e:
|
| 74 |
print(f"on_message Error: {e}")
|
| 75 |
|
| 76 |
+
def update_google_sheet():
|
| 77 |
"""save data from HF Space -> google sheets (makes 1 API call)"""
|
| 78 |
# run this in separate thread?
|
| 79 |
try:
|