abcs-noob commited on
Commit
07960ac
·
verified ·
1 Parent(s): 392b4c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ async def upload_file(fileToUpload: UploadFile = File(...)):
29
  "https://catbox.moe/user/api.php",
30
  data={"reqtype": "fileupload"},
31
  files={"fileToUpload": (filename, content, mime_type)}, # SỬA TẠI ĐÂY
32
- timeout=300
33
  )
34
 
35
  url = res.text.strip()
 
29
  "https://catbox.moe/user/api.php",
30
  data={"reqtype": "fileupload"},
31
  files={"fileToUpload": (filename, content, mime_type)}, # SỬA TẠI ĐÂY
32
+ timeout=800
33
  )
34
 
35
  url = res.text.strip()