Spaces:
Running
Running
Developer
commited on
Commit
·
a592e6d
1
Parent(s):
d9a8155
Fix syntax error on line 729 - unterminated f-string and missing bracket
Browse files
app.py
CHANGED
@@ -726,7 +726,9 @@ async def download_video_models():
|
|
726 |
if free_gb < 10: # Need at least 10GB free
|
727 |
return {
|
728 |
"success": False,
|
729 |
-
"message": f"Insufficient storage: {free_gb:.1f}
|
|
|
|
|
730 |
@app.post("/reload-models")
|
731 |
async def reload_models():
|
732 |
"""Force reload model detection after download"""
|
|
|
726 |
if free_gb < 10: # Need at least 10GB free
|
727 |
return {
|
728 |
"success": False,
|
729 |
+
"message": f"Insufficient storage: {free_gb:.1f}GB available, need at least 10GB for model download",
|
730 |
+
}
|
731 |
+
|
732 |
@app.post("/reload-models")
|
733 |
async def reload_models():
|
734 |
"""Force reload model detection after download"""
|