Spaces:
Running
Running
Remove share button and add label to selected index
Browse files
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 |
-
|
98 |
-
|
|
|
|
|
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():
|