Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
4eba62e
1
Parent(s):
54725b9
Update app.py
Browse files
app.py
CHANGED
@@ -97,4 +97,8 @@ def backup_db():
|
|
97 |
scheduler = BackgroundScheduler()
|
98 |
scheduler.add_job(func=backup_db, trigger="interval", seconds=60)
|
99 |
scheduler.start()
|
|
|
|
|
|
|
|
|
100 |
demo.launch()
|
|
|
97 |
scheduler = BackgroundScheduler()
|
98 |
scheduler.add_job(func=backup_db, trigger="interval", seconds=60)
|
99 |
scheduler.start()
|
100 |
+
|
101 |
+
scheduler2 = BackgroundScheduler()
|
102 |
+
scheduler2.add_job(func=load_data, trigger="interval", seconds=3)
|
103 |
+
scheduler2.start()
|
104 |
demo.launch()
|