Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -233,7 +233,7 @@ if os.getenv('DATASET_ID'):
|
|
| 233 |
except:
|
| 234 |
pass
|
| 235 |
# Update DB
|
| 236 |
-
db_thread = threading.Thread(target=
|
| 237 |
db_thread.daemon = True
|
| 238 |
db_thread.start()
|
| 239 |
create_db()
|
|
|
|
| 233 |
except:
|
| 234 |
pass
|
| 235 |
# Update DB
|
| 236 |
+
db_thread = threading.Thread(target=sync_db)
|
| 237 |
db_thread.daemon = True
|
| 238 |
db_thread.start()
|
| 239 |
create_db()
|