Spaces:
jfforero
/
Runtime error

jfforero commited on
Commit
8425dd7
·
verified ·
1 Parent(s): bd05c83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, emotion_prediction)
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