Update main.py
Browse files
main.py
CHANGED
|
@@ -640,7 +640,7 @@ async def download_audio_endpoint(
|
|
| 640 |
|
| 641 |
|
| 642 |
file_url = f"/static/{output_file}"
|
| 643 |
-
server_url = os.getenv("SERVER_URL", "https://akane710-
|
| 644 |
download_url = f"{server_url}{file_url}"
|
| 645 |
|
| 646 |
return JSONResponse(content={
|
|
@@ -706,7 +706,7 @@ async def download_video(
|
|
| 706 |
|
| 707 |
|
| 708 |
file_url = f"/static/{output_file}"
|
| 709 |
-
server_url = os.getenv("SERVER_URL", "https://akane710-
|
| 710 |
download_url = f"{server_url}{file_url}"
|
| 711 |
|
| 712 |
return JSONResponse(content={
|
|
|
|
| 640 |
|
| 641 |
|
| 642 |
file_url = f"/static/{output_file}"
|
| 643 |
+
server_url = os.getenv("SERVER_URL", "https://akane710-y2mateee.hf.space")
|
| 644 |
download_url = f"{server_url}{file_url}"
|
| 645 |
|
| 646 |
return JSONResponse(content={
|
|
|
|
| 706 |
|
| 707 |
|
| 708 |
file_url = f"/static/{output_file}"
|
| 709 |
+
server_url = os.getenv("SERVER_URL", "https://akane710-y2mateee.hf.space")
|
| 710 |
download_url = f"{server_url}{file_url}"
|
| 711 |
|
| 712 |
return JSONResponse(content={
|