SRDdev commited on
Commit
f0d94cb
·
1 Parent(s): d2c1a68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -23,7 +23,7 @@ def predict(image,max_length=64,num_beams=4):
23
  input = gr.inputs.Image(label='Image to generate caption',type = 'pil', optional=False)
24
  output = gr.outputs.Textbox(type="auto",label="Caption")
25
 
26
- article = "This is a Image captioning model created by Shreyas Dixit"
27
  title = "Image Captioning"
28
 
29
  interface = gr.Interface(
@@ -31,7 +31,6 @@ interface = gr.Interface(
31
  inputs = input,
32
  theme="grass",
33
  outputs=output,
34
- examples = examples,
35
  title=title,
36
  description=article,
37
  )
 
23
  input = gr.inputs.Image(label='Image to generate caption',type = 'pil', optional=False)
24
  output = gr.outputs.Textbox(type="auto",label="Caption")
25
 
26
+ article = "This is an Image captioning application created by Shreyas Dixit"
27
  title = "Image Captioning"
28
 
29
  interface = gr.Interface(
 
31
  inputs = input,
32
  theme="grass",
33
  outputs=output,
 
34
  title=title,
35
  description=article,
36
  )