SandraCLV commited on
Commit
9b535d6
1 Parent(s): d8bdfb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def generate_captions_speech(image):
13
 
14
  caption_blip_large = itm.generate_caption(itm.blip_processor_large, itm.blip_model_large, image)
15
  print('generate_captions>>>'+caption_blip_large)
16
- speech=amsynthesize_speech(caption_blip_large)
17
  return caption_blip_large,gr.Audio.update(value=(16000, speech.cpu().numpy()))
18
 
19
 
 
13
 
14
  caption_blip_large = itm.generate_caption(itm.blip_processor_large, itm.blip_model_large, image)
15
  print('generate_captions>>>'+caption_blip_large)
16
+ speech=am.synthesize_speech(caption_blip_large)
17
  return caption_blip_large,gr.Audio.update(value=(16000, speech.cpu().numpy()))
18
 
19