Ahmed0011 commited on
Commit
f7e992e
1 Parent(s): ce3e18b

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-AriaNeural") # 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-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