code push
Browse files
app.py
CHANGED
@@ -215,7 +215,7 @@ with gr.Blocks(css=css, title='Fast Segment Anything') as demo:
|
|
215 |
def clear_text():
|
216 |
return None, None, None
|
217 |
|
218 |
-
clear_btn_p.click(clear, outputs=[cond_img_p, segm_img_p])
|
219 |
clear_btn_t.click(clear_text, outputs=[cond_img_p, segm_img_p, text_box])
|
220 |
|
221 |
demo.queue()
|
|
|
215 |
def clear_text():
|
216 |
return None, None, None
|
217 |
|
218 |
+
# clear_btn_p.click(clear, outputs=[cond_img_p, segm_img_p])
|
219 |
clear_btn_t.click(clear_text, outputs=[cond_img_p, segm_img_p, text_box])
|
220 |
|
221 |
demo.queue()
|