Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def predict(image):
|
|
17 |
filepath = 'caption.mp3'
|
18 |
return caption, filepath
|
19 |
|
20 |
-
inputs = gr.
|
21 |
outputs = [
|
22 |
gr.components.Textbox(type="text",label="Captions"),
|
23 |
gr.components.Audio(type="filepath",label="audio")
|
|
|
17 |
filepath = 'caption.mp3'
|
18 |
return caption, filepath
|
19 |
|
20 |
+
inputs = gr.input.Image(label="Upload any Image")
|
21 |
outputs = [
|
22 |
gr.components.Textbox(type="text",label="Captions"),
|
23 |
gr.components.Audio(type="filepath",label="audio")
|