Donald Winkelman
commited on
Commit
·
905be01
1
Parent(s):
0df199d
Removing broken input clearing
Browse files
app.py
CHANGED
|
@@ -170,10 +170,6 @@ with gr.Blocks(title="MorphSeg Demo") as demo:
|
|
| 170 |
outputs=[output_area, download_btn]
|
| 171 |
)
|
| 172 |
|
| 173 |
-
# Clear file input if text input is used, and vice versa (optional UX polish)
|
| 174 |
-
txt_input.change(lambda: None, outputs=[file_input])
|
| 175 |
-
file_input.change(lambda: None, outputs=[txt_input])
|
| 176 |
-
|
| 177 |
gr.Markdown("### Examples")
|
| 178 |
gr.Examples(
|
| 179 |
examples=EXAMPLES,
|
|
|
|
| 170 |
outputs=[output_area, download_btn]
|
| 171 |
)
|
| 172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
gr.Markdown("### Examples")
|
| 174 |
gr.Examples(
|
| 175 |
examples=EXAMPLES,
|