Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def generate_image(api_key, text):
|
|
82 |
def get_predictions(audio_input):
|
83 |
emotion_prediction = predict_emotion_from_audio(audio_input)
|
84 |
transcribed_text = transcribe(audio_input)
|
85 |
-
texto_imagen =
|
86 |
image = generate_image(api_key, texto_imagen)
|
87 |
return emotion_prediction, transcribed_text, image
|
88 |
|
|
|
82 |
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, texto_imagen)
|
87 |
return emotion_prediction, transcribed_text, image
|
88 |
|