Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
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 |
|