victor HF staff commited on
Commit
52647ec
·
1 Parent(s): 4dcb9ae

feat: Increase file size limit from 10MB to 100MB

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -210,8 +210,8 @@ def update(
210
  raise gr.Error(
211
  "Please make sure all videos are less than 2 minute long."
212
  )
213
- if file_info["size"] > 10000000:
214
- raise gr.Error("Please make sure all files are less than 10MB in size.")
215
 
216
  attempts = 0
217
  while attempts < 2:
 
210
  raise gr.Error(
211
  "Please make sure all videos are less than 2 minute long."
212
  )
213
+ if file_info["size"] > 100000000:
214
+ raise gr.Error("Please make sure all files are less than 100MB in size.")
215
 
216
  attempts = 0
217
  while attempts < 2: