prithivMLmods commited on
Commit
ad6e6ce
·
verified ·
1 Parent(s): 2774e90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, model_choice])
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")