Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -591,6 +591,7 @@ with gr.Blocks(title="GazeAlign", css=_CSS) as demo:
|
|
| 591 |
label=_FIXATION_LABEL, type="pil", interactive=False,
|
| 592 |
visible=False, height=440,
|
| 593 |
)
|
|
|
|
| 594 |
fix_status = gr.Markdown("")
|
| 595 |
|
| 596 |
# Load-from-file menu — collapsed; click the header to reveal.
|
|
@@ -612,7 +613,6 @@ with gr.Blocks(title="GazeAlign", css=_CSS) as demo:
|
|
| 612 |
label="Fixation duration weight", scale=3,
|
| 613 |
)
|
| 614 |
clear_btn = gr.Button("✕ Clear fixations", scale=2)
|
| 615 |
-
delete_btn = gr.Button("Delete image", visible=False)
|
| 616 |
|
| 617 |
preset_dd = gr.Dropdown(
|
| 618 |
choices=list(PRESETS.keys()),
|
|
|
|
| 591 |
label=_FIXATION_LABEL, type="pil", interactive=False,
|
| 592 |
visible=False, height=440,
|
| 593 |
)
|
| 594 |
+
delete_btn = gr.Button("🗑 Delete image / load another", visible=False)
|
| 595 |
fix_status = gr.Markdown("")
|
| 596 |
|
| 597 |
# Load-from-file menu — collapsed; click the header to reveal.
|
|
|
|
| 613 |
label="Fixation duration weight", scale=3,
|
| 614 |
)
|
| 615 |
clear_btn = gr.Button("✕ Clear fixations", scale=2)
|
|
|
|
| 616 |
|
| 617 |
preset_dd = gr.Dropdown(
|
| 618 |
choices=list(PRESETS.keys()),
|