SRDdev commited on
Commit
f96b4e2
·
verified ·
1 Parent(s): eea6d3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def predict(image):
17
  filepath = 'caption.mp3'
18
  return caption, filepath
19
 
20
- inputs = gr.inputs.Image(label="Upload any Image")
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")