Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,10 @@ with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
|
|
| 117 |
# Right column: Model choice, output, and examples
|
| 118 |
with gr.Column():
|
| 119 |
model_choice = gr.Radio(["Base", "Large"], label="Model Choice", value="Base")
|
| 120 |
-
|
|
|
|
|
|
|
|
|
|
| 121 |
gr.Examples(examples=examples, inputs=[image_input, model_choice])
|
| 122 |
|
| 123 |
# Connect the button to the function
|
|
|
|
| 117 |
# Right column: Model choice, output, and examples
|
| 118 |
with gr.Column():
|
| 119 |
model_choice = gr.Radio(["Base", "Large"], label="Model Choice", value="Base")
|
| 120 |
+
|
| 121 |
+
with gr.Row():
|
| 122 |
+
output = gr.Textbox(label="Generated Caption", lines=4, show_copy_button=True)
|
| 123 |
+
|
| 124 |
gr.Examples(examples=examples, inputs=[image_input, model_choice])
|
| 125 |
|
| 126 |
# Connect the button to the function
|