aryo100 commited on
Commit
d3d1b3e
·
1 Parent(s): a1fbb7f

update api

Browse files
Files changed (1) hide show
  1. api.py +1 -1
api.py CHANGED
@@ -148,7 +148,7 @@ async def tts_api(req: TTSRequest):
148
  space_id = os.environ.get("SPACE_ID")
149
  if space_id:
150
  username, space_name = space_id.split("/")
151
- space_url = f"https://{username}-rvc-tts.hf.space"
152
  public_url = f"{space_url}/file-tmp?path={output_wav}"
153
  else:
154
  public_url = f"/file-tmp?path={output_wav}"
 
148
  space_id = os.environ.get("SPACE_ID")
149
  if space_id:
150
  username, space_name = space_id.split("/")
151
+ space_url = f"https://{username}-rvc-api.hf.space"
152
  public_url = f"{space_url}/file-tmp?path={output_wav}"
153
  else:
154
  public_url = f"/file-tmp?path={output_wav}"