Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def generate_caption():
|
|
28 |
return parsed_answer["<MORE_DETAILED_CAPTION>"]
|
29 |
|
30 |
io = gr.Interface(generate_caption,
|
31 |
-
inputs=[gr.Image()],
|
32 |
-
outputs = [gr.Textbox(label="
|
33 |
)
|
34 |
io.launch(debug=True)
|
|
|
28 |
return parsed_answer["<MORE_DETAILED_CAPTION>"]
|
29 |
|
30 |
io = gr.Interface(generate_caption,
|
31 |
+
inputs=[gr.Image(label="Input Image")],
|
32 |
+
outputs = [gr.Textbox(label="Output Prompt", lines=2, show_copy_button = True)
|
33 |
)
|
34 |
io.launch(debug=True)
|