Chrunos commited on
Commit
5251503
·
verified ·
1 Parent(s): 4b3caea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ async def get_download_url(url):
116
  "Content-Type": "application/json"
117
  }
118
  try:
119
- response = await requests.post(api_url, json=data, headers=headers)
120
  if response.status_code == 200:
121
  result = response.json()
122
  return result.get('download_url')
 
116
  "Content-Type": "application/json"
117
  }
118
  try:
119
+ response = requests.post(api_url, json=data, headers=headers)
120
  if response.status_code == 200:
121
  result = response.json()
122
  return result.get('download_url')