prithivMLmods commited on
Commit
34429cf
·
verified ·
1 Parent(s): a39eeb6

update app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ with gr.Blocks() as demo:
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
124
  generate_btn.click(fn=describe_image, inputs=[image_input, model_choice], outputs=output)
125
 
 
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, interactive=True)
123
  # Connect the button to the function
124
  generate_btn.click(fn=describe_image, inputs=[image_input, model_choice], outputs=output)
125