Tonic commited on
Commit
063931a
1 Parent(s): d29d84f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ examples = [["https://example.com/image1.jpg"]]
38
  article = '<p style="margin:auto;max-width:600px;">This tool generates descriptive captions for given images.</p>'
39
 
40
  interface = gr.Interface(fn=generate_caption,
41
- inputs=gr.Image(source='upload'),
42
  outputs=gr.Textbox(),
43
  title=title, description=description, examples=examples, article=article)
44
 
 
38
  article = '<p style="margin:auto;max-width:600px;">This tool generates descriptive captions for given images.</p>'
39
 
40
  interface = gr.Interface(fn=generate_caption,
41
+ inputs=gr.Image(),
42
  outputs=gr.Textbox(),
43
  title=title, description=description, examples=examples, article=article)
44