Spaces:
Sleeping
Sleeping
Update app/main.py
Browse files- 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.
|
| 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",
|