Problem app.py 클리어 버튼
Browse files
app.py
CHANGED
@@ -200,7 +200,7 @@ with gr.Blocks() as demo1:
|
|
200 |
output_3 = gr.HighlightedText(label="Analysis", combine_adjacent=False) \
|
201 |
.style(color_map={"+++": "#CF0000", "++": "#FF3232", "+": "#FFD4D4", "---": "#0004FE", "--": "#4C47FF", "-": "#BEBDFF"})
|
202 |
|
203 |
-
btn2.click(fn=fn2)
|
204 |
btn.click(fn=builder, inputs=[inputs_1, inputs_2], outputs=[output_1, output_2, output_3])
|
205 |
gr.Examples(examples, inputs=[inputs_1, inputs_2])
|
206 |
|
|
|
200 |
output_3 = gr.HighlightedText(label="Analysis", combine_adjacent=False) \
|
201 |
.style(color_map={"+++": "#CF0000", "++": "#FF3232", "+": "#FFD4D4", "---": "#0004FE", "--": "#4C47FF", "-": "#BEBDFF"})
|
202 |
|
203 |
+
# btn2.click(fn=fn2)
|
204 |
btn.click(fn=builder, inputs=[inputs_1, inputs_2], outputs=[output_1, output_2, output_3])
|
205 |
gr.Examples(examples, inputs=[inputs_1, inputs_2])
|
206 |
|