code update
Browse files
app.py
CHANGED
@@ -215,7 +215,6 @@ with gr.Blocks(css=css, title='Fast Segment Anything') as demo:
|
|
215 |
def clear_text():
|
216 |
return None, None, None
|
217 |
|
218 |
-
clear_btn_e.click(clear, outputs=[cond_img_e, segm_img_e])
|
219 |
clear_btn_p.click(clear, outputs=[cond_img_p, segm_img_p])
|
220 |
clear_btn_t.click(clear_text, outputs=[cond_img_p, segm_img_p, text_box])
|
221 |
|
|
|
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 |
|