ionvop commited on
Commit
1ec7848
·
verified ·
1 Parent(s): d75b464

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -14,7 +14,7 @@ def read_root():
14
  return {"message": "Hello from FastAPI on Hugging Face Spaces 🚀"}
15
 
16
 
17
- @app.post("/speak")
18
  async def synthesize(text: str):
19
  tts = TTS_RVC(
20
  model_path="models/chu2.pth",
 
14
  return {"message": "Hello from FastAPI on Hugging Face Spaces 🚀"}
15
 
16
 
17
+ @app.get("/speak")
18
  async def synthesize(text: str):
19
  tts = TTS_RVC(
20
  model_path="models/chu2.pth",