Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -179,7 +179,7 @@ def ensure_valid_file(url):
|
|
179 |
raise ValueError("No Content-Length header found")
|
180 |
|
181 |
file_size = int(content_length)
|
182 |
-
print("debug", url, file_size)
|
183 |
if file_size > 900000000 and IS_ZERO_GPU:
|
184 |
raise ValueError("The file is too large. Max allowed is 900 MB.")
|
185 |
|
|
|
179 |
raise ValueError("No Content-Length header found")
|
180 |
|
181 |
file_size = int(content_length)
|
182 |
+
# print("debug", url, file_size)
|
183 |
if file_size > 900000000 and IS_ZERO_GPU:
|
184 |
raise ValueError("The file is too large. Max allowed is 900 MB.")
|
185 |
|