Spaces:
Sleeping
Sleeping
Update app/main.py
Browse files- app/main.py +1 -1
app/main.py
CHANGED
|
@@ -15,7 +15,7 @@ def read_root():
|
|
| 15 |
|
| 16 |
|
| 17 |
@app.get("/speak")
|
| 18 |
-
async def
|
| 19 |
tts = TTS_RVC(
|
| 20 |
model_path="models/chu2.pth",
|
| 21 |
voice="ja-JP-NanamiNeural",
|
|
|
|
| 15 |
|
| 16 |
|
| 17 |
@app.get("/speak")
|
| 18 |
+
async def speak(text: str):
|
| 19 |
tts = TTS_RVC(
|
| 20 |
model_path="models/chu2.pth",
|
| 21 |
voice="ja-JP-NanamiNeural",
|