Spaces:
jfforero
/
Runtime error

jfforero commited on
Commit
591dae5
1 Parent(s): 108eb19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "Create a "+ emotion_prediction + "version of Antarctica, using asemic writings as:" + transcribed_text + "with an old map style"
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