easxtn commited on
Commit
305c392
1 Parent(s): 89544a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
4
 
5
  def alexa(audio):
6
  converted_text = speech_to_text(audio)
7
- generated_text = text_generation(text)
8
  speech = text_to_speech(generated_text)
9
  return speech
10
 
 
4
 
5
  def alexa(audio):
6
  converted_text = speech_to_text(audio)
7
+ generated_text = text_generation(converted_text)
8
  speech = text_to_speech(generated_text)
9
  return speech
10