jfforero commited on
Commit
bd05c83
·
verified ·
1 Parent(s): 8ebdf87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -82,6 +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
  image = generate_image(api_key, emotion_prediction)
86
  return emotion_prediction, transcribed_text, image
87
 
 
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, emotion_prediction)
87
  return emotion_prediction, transcribed_text, image
88