Saqib
commited on
Commit
•
220c52d
1
Parent(s):
2fec25c
Update modules/app.py
Browse files- modules/app.py +1 -1
modules/app.py
CHANGED
@@ -62,7 +62,7 @@ async def get_audio(url: str):
|
|
62 |
if file_stats.st_size <= 30000000:
|
63 |
# Construct the URL for the MP3 file
|
64 |
mp3_url = f"/audio/{unique_filename}"
|
65 |
-
return
|
66 |
else:
|
67 |
os.remove(out_file)
|
68 |
raise HTTPException(status_code=413, detail="Audio file is too large. Limited to about 1.5 hours.")
|
|
|
62 |
if file_stats.st_size <= 30000000:
|
63 |
# Construct the URL for the MP3 file
|
64 |
mp3_url = f"/audio/{unique_filename}"
|
65 |
+
return mp3_url
|
66 |
else:
|
67 |
os.remove(out_file)
|
68 |
raise HTTPException(status_code=413, detail="Audio file is too large. Limited to about 1.5 hours.")
|