Spaces:
Sleeping
Sleeping
Rowan Martnishn
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -245,7 +245,8 @@ def run_daily():
|
|
245 |
process_data()
|
246 |
print("Data refreshed at:", datetime.datetime.now())
|
247 |
|
248 |
-
schedule.every().day.at("00:00").do(run_daily)
|
|
|
249 |
|
250 |
def run_schedule():
|
251 |
while True:
|
@@ -277,4 +278,7 @@ body, .gradio-container {
|
|
277 |
with gr.Blocks(css=custom_css) as demo:
|
278 |
gr.HTML(value=html_content)
|
279 |
|
|
|
|
|
|
|
280 |
demo.launch()
|
|
|
245 |
process_data()
|
246 |
print("Data refreshed at:", datetime.datetime.now())
|
247 |
|
248 |
+
# schedule.every().day.at("00:00").do(run_daily)
|
249 |
+
schedule.every(10).seconds.do(run_daily)
|
250 |
|
251 |
def run_schedule():
|
252 |
while True:
|
|
|
278 |
with gr.Blocks(css=custom_css) as demo:
|
279 |
gr.HTML(value=html_content)
|
280 |
|
281 |
+
|
282 |
+
print("Data refreshed at:", datetime.datetime.now())
|
283 |
+
|
284 |
demo.launch()
|