Spaces:
Sleeping
Sleeping
Update app/main.py
Browse files- app/main.py +2 -2
app/main.py
CHANGED
|
@@ -14,10 +14,10 @@ def read_root():
|
|
| 14 |
@app.get("/speak")
|
| 15 |
async def speak(text: str):
|
| 16 |
tts = TTS_RVC(
|
| 17 |
-
model_path="models/chu2.pth",
|
| 18 |
voice="ja-JP-NanamiNeural",
|
| 19 |
device="cpu",
|
| 20 |
-
index_path="models/chu.index",
|
| 21 |
f0_method="pm"
|
| 22 |
)
|
| 23 |
|
|
|
|
| 14 |
@app.get("/speak")
|
| 15 |
async def speak(text: str):
|
| 16 |
tts = TTS_RVC(
|
| 17 |
+
model_path="app/models/chu2.pth",
|
| 18 |
voice="ja-JP-NanamiNeural",
|
| 19 |
device="cpu",
|
| 20 |
+
index_path="app/models/chu.index",
|
| 21 |
f0_method="pm"
|
| 22 |
)
|
| 23 |
|