chibop commited on
Commit
79e3784
·
verified ·
1 Parent(s): d4c84cf

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. chat.py +1 -0
chat.py CHANGED
@@ -59,6 +59,7 @@ def transcribe(file):
59
  return response
60
 
61
  def speak(history):
 
62
  text = history[-1][1]
63
  print("Assistant:", text)
64
  speech = client.audio.speech.create(model="tts-1", voice="alloy", input=text).read()
 
59
  return response
60
 
61
  def speak(history):
62
+ print(history)
63
  text = history[-1][1]
64
  print("Assistant:", text)
65
  speech = client.audio.speech.create(model="tts-1", voice="alloy", input=text).read()