Spaces:
Runtime error
Runtime error
hamzaanwar12 commited on
Commit ·
95118fa
1
Parent(s): 5e2387d
Structure logs
Browse files
app.py
CHANGED
|
@@ -330,8 +330,8 @@ def get_download_status():
|
|
| 330 |
if download_thread and download_thread.is_alive():
|
| 331 |
return status + "\n\n⏳ Download in progress..."
|
| 332 |
elif is_model_ready():
|
| 333 |
-
log("📂 Listing downloaded directory structure...")
|
| 334 |
tree = get_directory_tree(PERSISTENT_DIR)
|
|
|
|
| 335 |
return status + "\n\n✅ Models are ready."
|
| 336 |
return status
|
| 337 |
|
|
|
|
| 330 |
if download_thread and download_thread.is_alive():
|
| 331 |
return status + "\n\n⏳ Download in progress..."
|
| 332 |
elif is_model_ready():
|
|
|
|
| 333 |
tree = get_directory_tree(PERSISTENT_DIR)
|
| 334 |
+
log(f"\n{tree}")
|
| 335 |
return status + "\n\n✅ Models are ready."
|
| 336 |
return status
|
| 337 |
|