jfforero commited on
Commit
33368d9
·
verified ·
1 Parent(s): 70cc11e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def generate_image(api_key, text):
81
  def get_predictions(audio_input):
82
  emotion_prediction = predict_emotion_from_audio(audio_input)
83
  transcribed_text = transcribe(audio_input)
84
- texto_imagen = "Generate a texture image' representing the concept of: [ " + emotion_prediction + "]. Illustrate this idea using a " + emotion_prediction + " graphic style."
85
  image = generate_image(api_key, texto_imagen)
86
  return emotion_prediction, transcribed_text, image
87
 
 
81
  def get_predictions(audio_input):
82
  emotion_prediction = predict_emotion_from_audio(audio_input)
83
  transcribed_text = transcribe(audio_input)
84
+ texto_imagen = "Generate a texture image' representing the concept of: [ " + emotion_prediction + "] ambiguity. Illustrate this idea using a " + emotion_prediction + " graphic style."
85
  image = generate_image(api_key, texto_imagen)
86
  return emotion_prediction, transcribed_text, image
87