Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ os.makedirs(PENDING_DIR, exist_ok=True)
|
|
| 26 |
def background_uploader():
|
| 27 |
api = HfApi()
|
| 28 |
while True:
|
| 29 |
-
time.sleep(
|
| 30 |
try:
|
| 31 |
files_to_upload = os.listdir(PENDING_DIR)
|
| 32 |
if not files_to_upload:
|
|
|
|
| 26 |
def background_uploader():
|
| 27 |
api = HfApi()
|
| 28 |
while True:
|
| 29 |
+
time.sleep(30) # ⏱️ 30 Second Timer
|
| 30 |
try:
|
| 31 |
files_to_upload = os.listdir(PENDING_DIR)
|
| 32 |
if not files_to_upload:
|