gopalagra commited on
Commit
c11c555
·
verified ·
1 Parent(s): b8ae276

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -49,9 +49,10 @@ def generate_caption_tts(image):
49
  interface = gr.Interface(
50
  fn=generate_caption_tts,
51
  inputs=gr.Image(type="numpy"),
52
- outputs=[gr.Textbox(label="Generated Caption"), gr.Audio(type="file", label="TTS Audio")],
53
- title="Blind Assistant: Image Captioning",
54
- description="Upload an image and get a descriptive caption + speech."
55
  )
56
 
 
57
  interface.launch()
 
49
  interface = gr.Interface(
50
  fn=generate_caption_tts,
51
  inputs=gr.Image(type="numpy"),
52
+ outputs=[gr.Textbox(label="Generated Caption"), gr.Audio(type="filepath", label="TTS Audio")],
53
+ title="Image Captioning for Visually Impaired",
54
+ description="Upload an image, get a caption and audio description."
55
  )
56
 
57
+
58
  interface.launch()