Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
|
|
114 |
with gr.Column():
|
115 |
image_input = gr.Image(label="Upload Image", type="pil")
|
116 |
generate_btn = gr.Button("Generate Caption", elem_classes="submit-btn")
|
117 |
-
gr.Examples(examples=examples, inputs=[image_input
|
118 |
# Right column: Model choice, output, and examples
|
119 |
with gr.Column():
|
120 |
model_choice = gr.Radio(["Base", "Large"], label="Model Choice", value="Base")
|
|
|
114 |
with gr.Column():
|
115 |
image_input = gr.Image(label="Upload Image", type="pil")
|
116 |
generate_btn = gr.Button("Generate Caption", elem_classes="submit-btn")
|
117 |
+
gr.Examples(examples=examples, inputs=[image_input])
|
118 |
# Right column: Model choice, output, and examples
|
119 |
with gr.Column():
|
120 |
model_choice = gr.Radio(["Base", "Large"], label="Model Choice", value="Base")
|