Spaces:
Runtime error
Runtime error
cspocketindia
commited on
Commit
•
a33e6b9
1
Parent(s):
85ef5d8
added run_pending()
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
@@ -36,7 +36,7 @@ def log_record(vals):
|
|
36 |
if is_new:
|
37 |
writer.writerow(utils.sanitize_list_for_csv(headers))
|
38 |
writer.writerow(utils.sanitize_list_for_csv(vals))
|
39 |
-
|
40 |
print(f"Last Sync: {job.last_run}")
|
41 |
|
42 |
# with open(log_file, "r", encoding="utf-8") as csvfile:
|
|
|
36 |
if is_new:
|
37 |
writer.writerow(utils.sanitize_list_for_csv(headers))
|
38 |
writer.writerow(utils.sanitize_list_for_csv(vals))
|
39 |
+
schedule.run_pending()
|
40 |
print(f"Last Sync: {job.last_run}")
|
41 |
|
42 |
# with open(log_file, "r", encoding="utf-8") as csvfile:
|