rdezwart commited on
Commit
e2ae5eb
·
1 Parent(s): cbb61c3

Remove share button and add label to selected index

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -94,8 +94,10 @@ if __name__ == "__main__":
94
  with gr.Column():
95
  yolos_input = gr.Image(type="pil")
96
  yolos_button = gr.Button("Submit")
97
- yolos_output = gr.Gallery(label="Detected Objects", object_fit="scale-down", columns=3, scale=1)
98
- yolos_selected = gr.Number()
 
 
99
 
100
  with gr.Tab("Inference"):
101
  with gr.Row():
 
94
  with gr.Column():
95
  yolos_input = gr.Image(type="pil")
96
  yolos_button = gr.Button("Submit")
97
+
98
+ yolos_output = gr.Gallery(label="Detected Objects", object_fit="scale-down", columns=3, scale=1,
99
+ show_share_button=False)
100
+ yolos_selected = gr.Number(label="Selected Image Index")
101
 
102
  with gr.Tab("Inference"):
103
  with gr.Row():