Update app.py
Browse files
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(
|
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 |
|