Akane710 commited on
Commit
bce8e49
·
verified ·
1 Parent(s): edcd600

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
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-y2matee.hf.space")
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-y2matee.hf.space")
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={