Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ def get_predictions(audio_input):
|
|
83 |
emotion_prediction = predict_emotion_from_audio(audio_input)
|
84 |
transcribed_text = transcribe(audio_input)
|
85 |
texto_imagen = emotion_prediction + transcribed_text
|
86 |
-
image = generate_image(api_key,
|
87 |
return emotion_prediction, transcribed_text, image
|
88 |
|
89 |
# Create the Gradio interface
|
|
|
83 |
emotion_prediction = predict_emotion_from_audio(audio_input)
|
84 |
transcribed_text = transcribe(audio_input)
|
85 |
texto_imagen = emotion_prediction + transcribed_text
|
86 |
+
image = generate_image(api_key, texto_imagen)
|
87 |
return emotion_prediction, transcribed_text, image
|
88 |
|
89 |
# Create the Gradio interface
|