Spaces:
Running
on
Zero
Running
on
Zero
Martin Tomov
commited on
submit_button = gr.Button("Submit")
Browse files
app.py
CHANGED
@@ -229,14 +229,6 @@ css = """
|
|
229 |
font-size: 6em;
|
230 |
margin-bottom: 20px;
|
231 |
}
|
232 |
-
#submit-button {
|
233 |
-
background-color: orange !important;
|
234 |
-
border: none !important;
|
235 |
-
color: white !important;
|
236 |
-
font-size: 1em;
|
237 |
-
padding: 10px 20px;
|
238 |
-
cursor: pointer;
|
239 |
-
}
|
240 |
.checkbox-group {
|
241 |
display: flex;
|
242 |
justify-content: center;
|
@@ -256,7 +248,7 @@ with gr.Blocks(css=css) as demo:
|
|
256 |
include_json = gr.Checkbox(label="Include JSON", value=False, elem_id="checkbox-group")
|
257 |
include_bboxes = gr.Checkbox(label="Include Bounding Boxes", value=False, elem_id="checkbox-group")
|
258 |
gr.Examples(examples=examples, inputs=[image_input, include_json, include_bboxes])
|
259 |
-
submit_button = gr.Button("Submit"
|
260 |
|
261 |
annotated_output = gr.Image(type="numpy")
|
262 |
json_output = gr.Textbox()
|
|
|
229 |
font-size: 6em;
|
230 |
margin-bottom: 20px;
|
231 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
.checkbox-group {
|
233 |
display: flex;
|
234 |
justify-content: center;
|
|
|
248 |
include_json = gr.Checkbox(label="Include JSON", value=False, elem_id="checkbox-group")
|
249 |
include_bboxes = gr.Checkbox(label="Include Bounding Boxes", value=False, elem_id="checkbox-group")
|
250 |
gr.Examples(examples=examples, inputs=[image_input, include_json, include_bboxes])
|
251 |
+
submit_button = gr.Button("Submit")
|
252 |
|
253 |
annotated_output = gr.Image(type="numpy")
|
254 |
json_output = gr.Textbox()
|