zhaokeyao1
commited on
Commit
·
5eb30f2
1
Parent(s):
76c3008
Add button
Browse files
app.py
CHANGED
|
@@ -139,11 +139,15 @@ with gr.Blocks(css="#chatbot{height:350px} .overflow-y-auto{height:600px}") as d
|
|
| 139 |
with gr.Column(scale=1, min_width=50):
|
| 140 |
user_in_file = gr.File(label="Upload File")
|
| 141 |
#submit_button = gr.Button("Submit")
|
| 142 |
-
summary_button = gr.Button("
|
| 143 |
-
target_button = gr.Button("
|
| 144 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
with gr.Column(scale=2):
|
| 146 |
-
system_in_txt = gr.Textbox(lines=
|
| 147 |
|
| 148 |
summary_button.click(fn=predict, inputs=[password_in_txt, user_in_file], outputs=[system_in_txt])
|
| 149 |
|
|
|
|
| 139 |
with gr.Column(scale=1, min_width=50):
|
| 140 |
user_in_file = gr.File(label="Upload File")
|
| 141 |
#submit_button = gr.Button("Submit")
|
| 142 |
+
summary_button = gr.Button("��ѯ�ܽ�")
|
| 143 |
+
target_button = gr.Button("��ѯ���ߺͻ�̸Ŀ��")
|
| 144 |
+
concept_button = gr.Button("�������")
|
| 145 |
+
dynamic_button = gr.Button("��̸��̬")
|
| 146 |
+
evaluation_button = gr.Button("��ѯ������Ч������")
|
| 147 |
+
plan_button = gr.Button("������ѯ�ƻ�")
|
| 148 |
+
improvment_button = gr.Button("�Ի�����")
|
| 149 |
with gr.Column(scale=2):
|
| 150 |
+
system_in_txt = gr.Textbox(lines=25, label="Output Text:")
|
| 151 |
|
| 152 |
summary_button.click(fn=predict, inputs=[password_in_txt, user_in_file], outputs=[system_in_txt])
|
| 153 |
|