EC2 Default User commited on
Commit
458be33
1 Parent(s): b820955
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -138,7 +138,8 @@ def predict(input, history=[]):
138
  def predict_text_only(input, history=[]):
139
  history.append(input)
140
  response = conversation.predict(input=input)
141
- return response, history
 
142
 
143
  def transcribe_func(audio):
144
  audio_file = open(audio, "rb")
 
138
  def predict_text_only(input, history=[]):
139
  history.append(input)
140
  response = conversation.predict(input=input)
141
+ audio_file = "/tmp/fake.mp3"
142
+ return response, audio_file, history
143
 
144
  def transcribe_func(audio):
145
  audio_file = open(audio, "rb")