Jofthomas HF staff commited on
Commit
bbcae98
1 Parent(s): c76a369

Update TextGen/router.py

Browse files
Files changed (1) hide show
  1. TextGen/router.py +1 -1
TextGen/router.py CHANGED
@@ -130,7 +130,7 @@ def determine_vocie_from_npc(npc,genre):
130
  @app.post("/generate_wav")
131
  async def generate_wav(message: VoiceMessage):
132
  try:
133
- voice = determine_voice_from_npc(message.npc, message.genre)
134
  audio_file_pth = handle_file(voice)
135
 
136
  # Generator function to yield audio chunks
 
130
  @app.post("/generate_wav")
131
  async def generate_wav(message: VoiceMessage):
132
  try:
133
+ voice = determine_vocie_from_npc(message.npc, message.genre)
134
  audio_file_pth = handle_file(voice)
135
 
136
  # Generator function to yield audio chunks