r3gm commited on
Commit
e7bd8ef
·
verified ·
1 Parent(s): 82c5971

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -179,6 +179,7 @@ def ensure_valid_file(url):
179
  raise ValueError("No Content-Length header found")
180
 
181
  file_size = int(content_length)
 
182
  if file_size > 900000000 and IS_ZERO_GPU:
183
  raise ValueError("The file is too large. Max allowed is 900 MB.")
184
 
 
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