Spaces:
Running
Running
fix: change size_mb from string 'Unknown' to integer 0 to fix format error
Browse files
app.py
CHANGED
|
@@ -98,7 +98,7 @@ def list_repo_gguf_files(repo_id: str) -> Tuple[List[Dict[str, Any]], str]:
|
|
| 98 |
|
| 99 |
# Estimate size (we'd need to fetch file info for exact size)
|
| 100 |
# For now, use placeholder that will be updated when downloading
|
| 101 |
-
size_mb =
|
| 102 |
|
| 103 |
# Try to extract parameter count from filename
|
| 104 |
params = "Unknown"
|
|
|
|
| 98 |
|
| 99 |
# Estimate size (we'd need to fetch file info for exact size)
|
| 100 |
# For now, use placeholder that will be updated when downloading
|
| 101 |
+
size_mb = 0
|
| 102 |
|
| 103 |
# Try to extract parameter count from filename
|
| 104 |
params = "Unknown"
|