Spaces:
Running
Running
benediktstroebl
commited on
Commit
·
9f9bed8
1
Parent(s):
ff06039
Update app.py
Browse files
app.py
CHANGED
@@ -593,16 +593,16 @@ async def main():
|
|
593 |
# Preprocess traces
|
594 |
# preprocessor.preprocess_traces('evals_live')
|
595 |
|
596 |
-
# # Download the results from the Hugging Face Hub
|
597 |
-
await asyncio.to_thread(download_latest_results)
|
598 |
|
599 |
-
# Check for new uploads and process them
|
600 |
-
await check_and_process_uploads()
|
601 |
|
602 |
scheduler = AsyncIOScheduler()
|
603 |
scheduler.add_job(restart_space, "interval", hours=1)
|
604 |
scheduler.add_job(download_latest_results, "interval", hours=1)
|
605 |
-
scheduler.add_job(check_and_process_uploads, "interval", hours=1)
|
606 |
scheduler.start()
|
607 |
|
608 |
await demo.launch()
|
|
|
593 |
# Preprocess traces
|
594 |
# preprocessor.preprocess_traces('evals_live')
|
595 |
|
596 |
+
# # # Download the results from the Hugging Face Hub
|
597 |
+
# await asyncio.to_thread(download_latest_results)
|
598 |
|
599 |
+
# # Check for new uploads and process them
|
600 |
+
# await check_and_process_uploads()
|
601 |
|
602 |
scheduler = AsyncIOScheduler()
|
603 |
scheduler.add_job(restart_space, "interval", hours=1)
|
604 |
scheduler.add_job(download_latest_results, "interval", hours=1)
|
605 |
+
# scheduler.add_job(check_and_process_uploads, "interval", hours=1)
|
606 |
scheduler.start()
|
607 |
|
608 |
await demo.launch()
|