SandraCLV commited on
Commit
73ee3a5
·
1 Parent(s): 27903a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ text_to_audio_model = pipeline("text-to-speech")
17
  def image_to_audio(input_image):
18
  # Convertir la imagen a texto
19
  text_output = image_to_text_model(input_image)[0]['label']
20
- print('text_output is :'+text_output)
21
  # Generar audio a partir del texto
22
  audio_output = text_to_audio_model(text_output)[0]['audio']
23
  print('audio_output is :'+audio_output)
 
17
  def image_to_audio(input_image):
18
  # Convertir la imagen a texto
19
  text_output = image_to_text_model(input_image)[0]['label']
20
+ print('text_output is :'+text_output)
21
  # Generar audio a partir del texto
22
  audio_output = text_to_audio_model(text_output)[0]['audio']
23
  print('audio_output is :'+audio_output)