Mbonea commited on
Commit
59681d8
1 Parent(s): e981d74
App/Transcription/TranscriptionRoutes.py CHANGED
@@ -135,7 +135,7 @@ async def url_task(
135
  ):
136
  extension = 'wav'
137
  file_name = f"{genUUID()}.{extension}"
138
- file_dir = os.path.join("./", "Downloads")
139
  # celery task
140
  task = downloadUrl.delay(link=url, download_dir=file_dir, filename=file_name, model_size=model)
141
 
 
135
  ):
136
  extension = 'wav'
137
  file_name = f"{genUUID()}.{extension}"
138
+ file_dir = os.path.join("/tmp/", "Downloads")
139
  # celery task
140
  task = downloadUrl.delay(link=url, download_dir=file_dir, filename=file_name, model_size=model)
141