Spaces:
Runtime error
Runtime error
Commit
·
b2f154f
1
Parent(s):
741cfba
Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ with gr.Blocks(css=css) as demo:
|
|
143 |
styler = df.style.highlight_max(color = 'lightgreen', axis = 0)
|
144 |
|
145 |
|
146 |
-
|
147 |
|
148 |
|
149 |
#df1=json.loads(js1)
|
@@ -198,9 +198,9 @@ def backup_db_csv():
|
|
198 |
# demo.load(load_data,None, [reviews, total_reviews])
|
199 |
# #return reviews, total_reviews
|
200 |
|
201 |
-
scheduler0 = BackgroundScheduler()
|
202 |
-
scheduler0.add_job(func=run_ecs, trigger="interval", seconds=180000)
|
203 |
-
scheduler0.start()
|
204 |
|
205 |
scheduler1 = BackgroundScheduler()
|
206 |
scheduler1.add_job(func=run_actr, trigger="interval", seconds=3600)
|
|
|
143 |
styler = df.style.highlight_max(color = 'lightgreen', axis = 0)
|
144 |
|
145 |
|
146 |
+
df1=run_ecs("Dan")
|
147 |
|
148 |
|
149 |
#df1=json.loads(js1)
|
|
|
198 |
# demo.load(load_data,None, [reviews, total_reviews])
|
199 |
# #return reviews, total_reviews
|
200 |
|
201 |
+
#scheduler0 = BackgroundScheduler()
|
202 |
+
#scheduler0.add_job(func=run_ecs, trigger="interval", seconds=180000)
|
203 |
+
#scheduler0.start()
|
204 |
|
205 |
scheduler1 = BackgroundScheduler()
|
206 |
scheduler1.add_job(func=run_actr, trigger="interval", seconds=3600)
|