Mbonea commited on
Commit
89d221a
·
1 Parent(s): 42f97ed

testing changes

Browse files
App/Transcription/TranscriptionRoutes.py CHANGED
@@ -59,7 +59,7 @@ async def download_audio(
59
  "outtmpl": file_path,
60
  }
61
 
62
- task = downloadfile.delay(url, ydl_opts, model)
63
  response = {"task_id": task.id, "file_name": f"{video_title}.mp3"}
64
  transcription_enrty = await Transcriptions.objects.create(
65
  user=user, youtubeLink=url, **response
 
59
  "outtmpl": file_path,
60
  }
61
 
62
+ task = downloadfile.delay(url=url, ydl_opts=ydl_opts, model_size=model)
63
  response = {"task_id": task.id, "file_name": f"{video_title}.mp3"}
64
  transcription_enrty = await Transcriptions.objects.create(
65
  user=user, youtubeLink=url, **response