mzltest commited on
Commit
dc0b4da
·
1 Parent(s): e429d81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ def downloadTubeUpload(query):
113
  }
114
  with requests.get(best_audio_format["url"], stream=True) as r:
115
  r.raise_for_status()
116
- upload_response = requests.post(upload_url, headers=headers, data=r.raw).json()
117
  return upload_response.get("result", {}).get("id")
118
 
119
  def split_file(file_id):
 
113
  }
114
  with requests.get(best_audio_format["url"], stream=True) as r:
115
  r.raise_for_status()
116
+ upload_response = requests.post(upload_url, headers=headers, data=r.raw, timeout=300).json()
117
  return upload_response.get("result", {}).get("id")
118
 
119
  def split_file(file_id):