ChancesYuan
commited on
Commit
•
2c36eb0
1
Parent(s):
3fae30f
update
Browse files
app.py
CHANGED
@@ -47,8 +47,8 @@ with gr.Blocks() as demo:
|
|
47 |
alter_label = gr.Textbox(label="Head/Tail", lines=1, placeholder="1:head / 0:tail")
|
48 |
add_button = gr.Button("Add")
|
49 |
|
50 |
-
|
51 |
-
|
52 |
|
53 |
origin_button.click(fn=origin_preditcion, inputs=[input, alter_label], outputs=origin_output)
|
54 |
edit_button.click(fn=edit_process, inputs=[input, alter_label], outputs=edit_output)
|
|
|
47 |
alter_label = gr.Textbox(label="Head/Tail", lines=1, placeholder="1:head / 0:tail")
|
48 |
add_button = gr.Button("Add")
|
49 |
|
50 |
+
with gr.Column():
|
51 |
+
add_output = gr.Textbox(label="Add Results", lines=3, placeholder="")
|
52 |
|
53 |
origin_button.click(fn=origin_preditcion, inputs=[input, alter_label], outputs=origin_output)
|
54 |
edit_button.click(fn=edit_process, inputs=[input, alter_label], outputs=edit_output)
|