Mbonea commited on
Commit
898b4bb
·
1 Parent(s): 3d84e5b

explicit directory

Browse files
App/Transcription/TranscriptionRoutes.py CHANGED
@@ -72,7 +72,7 @@ async def download_audio(
72
  r"(?u)[^-\w.]", "", short_uuid
73
  ) # Ensure the title is file-friendly
74
  filename = f"{sanitized_title}.mp3"
75
- file_path = os.path.join("./", "Downloads", filename)
76
 
77
  ydl_opts = {
78
  "format": "bestaudio/best",
 
72
  r"(?u)[^-\w.]", "", short_uuid
73
  ) # Ensure the title is file-friendly
74
  filename = f"{sanitized_title}.mp3"
75
+ file_path = os.path.join("/tmp/", "Downloads", filename)
76
 
77
  ydl_opts = {
78
  "format": "bestaudio/best",