mzltest commited on
Commit
37e715a
·
1 Parent(s): 9d44363

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -120,7 +120,8 @@ def downloadTubeUpload(query):
120
  moutput=getoutput(command)
121
  print(moutput)
122
  upload_response=json.loads(moutput)
123
- return upload_response.get("result", {}).get("id")
 
124
  def split_file(file_id):
125
  url_for_split = "https://www.lalal.ai/api/preview/"
126
  #headers={'x-csrftoken':'fdH0XaNK6YCAUnSgaNK2hEzKvTv7UcXj'}
 
120
  moutput=getoutput(command)
121
  print(moutput)
122
  upload_response=json.loads(moutput)
123
+ return upload_response.get("id")
124
+
125
  def split_file(file_id):
126
  url_for_split = "https://www.lalal.ai/api/preview/"
127
  #headers={'x-csrftoken':'fdH0XaNK6YCAUnSgaNK2hEzKvTv7UcXj'}