Spaces:
Configuration error
Configuration error
DoctorSlimm
commited on
Commit
•
5ff3449
1
Parent(s):
44c0953
Update app.py
Browse files
app.py
CHANGED
@@ -77,8 +77,7 @@ def generate_caption(image, prompt):
|
|
77 |
demo = gr.Interface(
|
78 |
fn=generate_caption,
|
79 |
inputs=[gr.Image(type="pil", label="Upload Image"), gr.Textbox(label="Prompt", value="Describe the image in great detail")],
|
80 |
-
outputs=gr.Textbox(label="Generated Caption")
|
81 |
-
description=description
|
82 |
)
|
83 |
|
84 |
# Launch the interface
|
|
|
77 |
demo = gr.Interface(
|
78 |
fn=generate_caption,
|
79 |
inputs=[gr.Image(type="pil", label="Upload Image"), gr.Textbox(label="Prompt", value="Describe the image in great detail")],
|
80 |
+
outputs=gr.Textbox(label="Generated Caption")
|
|
|
81 |
)
|
82 |
|
83 |
# Launch the interface
|