Update TextGen/router.py
Browse files- TextGen/router.py +1 -1
TextGen/router.py
CHANGED
@@ -69,7 +69,7 @@ def inference(input_prompt: str):
|
|
69 |
|
70 |
|
71 |
@app.get("/generate_wav")
|
72 |
-
async def generate_wav(text: str, language: str = "en",voice:str="./voices/blacksmith.mp3):
|
73 |
try:
|
74 |
# Use the Gradio client to generate the wav file
|
75 |
result = tts_client.predict(
|
|
|
69 |
|
70 |
|
71 |
@app.get("/generate_wav")
|
72 |
+
async def generate_wav(text: str, language: str = "en",voice:str="./voices/blacksmith.mp3"):
|
73 |
try:
|
74 |
# Use the Gradio client to generate the wav file
|
75 |
result = tts_client.predict(
|