Spaces:
Sleeping
Sleeping
krishnapal2308
commited on
Commit
•
f8b3ccb
1
Parent(s):
03f2b8a
adding labels to outputs
Browse files
app.py
CHANGED
@@ -70,9 +70,10 @@ model_selection_input = gr.Radio(["Basic Model",
|
|
70 |
"ViT-GPT2"],
|
71 |
label="Choose Model")
|
72 |
|
|
|
73 |
iface = gr.Interface(fn=process_image_and_generate_output,
|
74 |
inputs=[image_input, model_selection_input],
|
75 |
-
outputs=["
|
76 |
examples=sample_images,
|
77 |
allow_flagging='never',
|
78 |
title="Eye For Blind | Image Captioning & TTS Demo",
|
|
|
70 |
"ViT-GPT2"],
|
71 |
label="Choose Model")
|
72 |
|
73 |
+
|
74 |
iface = gr.Interface(fn=process_image_and_generate_output,
|
75 |
inputs=[image_input, model_selection_input],
|
76 |
+
outputs=[gr.Text(label="Caption"),gr.Audio(label="Audio")],
|
77 |
examples=sample_images,
|
78 |
allow_flagging='never',
|
79 |
title="Eye For Blind | Image Captioning & TTS Demo",
|