Commit
·
42a5ea2
1
Parent(s):
0f1ad79
update
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ with gr.Blocks() as demo:
|
|
22 |
origin_button = gr.Button("Origin")
|
23 |
|
24 |
with gr.Column():
|
25 |
-
origin_output = gr.Textbox(label="Before Edit", lines=
|
26 |
|
27 |
with gr.Row():
|
28 |
with gr.Column():
|
@@ -30,7 +30,7 @@ with gr.Blocks() as demo:
|
|
30 |
edit_button = gr.Button("Edit", elem_id="warning")
|
31 |
|
32 |
with gr.Column():
|
33 |
-
edit_output = gr.Textbox(label="After Edit", lines=
|
34 |
gr.Examples(
|
35 |
examples=[["[MASK] r1 t1", "h1"], ["[MASK] r2 t2", "h2"]],
|
36 |
inputs=[input, alter_label],
|
|
|
22 |
origin_button = gr.Button("Origin")
|
23 |
|
24 |
with gr.Column():
|
25 |
+
origin_output = gr.Textbox(label="Before Edit", lines=3, placeholder="")
|
26 |
|
27 |
with gr.Row():
|
28 |
with gr.Column():
|
|
|
30 |
edit_button = gr.Button("Edit", elem_id="warning")
|
31 |
|
32 |
with gr.Column():
|
33 |
+
edit_output = gr.Textbox(label="After Edit", lines=3, placeholder="")
|
34 |
gr.Examples(
|
35 |
examples=[["[MASK] r1 t1", "h1"], ["[MASK] r2 t2", "h2"]],
|
36 |
inputs=[input, alter_label],
|