Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
|
|
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(["Florence-2-base", "Florence-2-large"], label="Model Choice", value="
|
121 |
with gr.Row():
|
122 |
output = gr.Textbox(label="Generated Caption", lines=4, show_copy_button=True)
|
123 |
# Connect the button to the function
|
|
|
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(["Florence-2-base", "Florence-2-large"], label="Model Choice", value="Florence-2-base")
|
121 |
with gr.Row():
|
122 |
output = gr.Textbox(label="Generated Caption", lines=4, show_copy_button=True)
|
123 |
# Connect the button to the function
|