Ahmed0011 commited on
Commit
07ecedb
1 Parent(s): f7e992e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ async def model(text):
61
  async def respond(audio):
62
  user = await transcribe(audio)
63
  reply = await model(user)
64
- communicate = edge_tts.Communicate(reply, voice="en-US-AnaNeural") # Example voice
65
  ##communicate = edge_tts.Communicate(reply)
66
  with tempfile.NamedTemporaryFile(delete=False, suffix=".wav") as tmp_file:
67
  tmp_path = tmp_file.name
 
61
  async def respond(audio):
62
  user = await transcribe(audio)
63
  reply = await model(user)
64
+ communicate = edge_tts.Communicate(reply, voice="en-US-JennyNeural") # Example voice
65
  ##communicate = edge_tts.Communicate(reply)
66
  with tempfile.NamedTemporaryFile(delete=False, suffix=".wav") as tmp_file:
67
  tmp_path = tmp_file.name