Spaces:
Paused
Paused
update
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 📊
|
|
4 |
colorFrom: purple
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
|
|
4 |
colorFrom: purple
|
5 |
colorTo: indigo
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.28.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
app.py
CHANGED
@@ -358,17 +358,15 @@ with gr.Blocks(css=newcss, theme=gr.themes.Soft()) as demo:
|
|
358 |
accept_btn = gr.Button(value="Accept")
|
359 |
myabe_btn = gr.Button(value="Not Sure!")
|
360 |
reject_btn = gr.Button(value="Reject")
|
361 |
-
with gr.Row():
|
362 |
query_image = gr.Image(type="pil", label="Query", elem_id="query_image")
|
363 |
-
with gr.
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
type="pil", label="Training samples", elem_id="sample_gallery"
|
371 |
-
)
|
372 |
|
373 |
accept_btn.click(
|
374 |
update_app,
|
|
|
358 |
accept_btn = gr.Button(value="Accept")
|
359 |
myabe_btn = gr.Button(value="Not Sure!")
|
360 |
reject_btn = gr.Button(value="Reject")
|
361 |
+
with gr.Row(style={"margin-top": "10px"}):
|
362 |
query_image = gr.Image(type="pil", label="Query", elem_id="query_image")
|
363 |
+
with gr.Column():
|
364 |
+
label_plot = gr.Plot(
|
365 |
+
label="Is this a correct label for this image?", type="fig"
|
366 |
+
)
|
367 |
+
training_samples = gr.Gallery(
|
368 |
+
type="pil", label="Training samples", elem_id="sample_gallery"
|
369 |
+
)
|
|
|
|
|
370 |
|
371 |
accept_btn.click(
|
372 |
update_app,
|