Jofthomas HF staff commited on
Commit
3924404
1 Parent(s): 27fbf7a

Update TextGen/router.py

Browse files
Files changed (1) hide show
  1. 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(