Update app.py
Browse files
app.py
CHANGED
@@ -202,6 +202,17 @@ def show_results_tab(df):
|
|
202 |
outputs=table,
|
203 |
)
|
204 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
|
206 |
def show_predictions_tab(df):
|
207 |
pass
|
|
|
202 |
outputs=table,
|
203 |
)
|
204 |
|
205 |
+
with gr.Row():
|
206 |
+
with gr.Accordion("Citation", open=False):
|
207 |
+
citation_button = gr.Textbox(
|
208 |
+
value=CITATION_BUTTON_TEXT,
|
209 |
+
label=CITATION_BUTTON_LABEL,
|
210 |
+
elem_id='citation-button',
|
211 |
+
lines=6, # 增加行数
|
212 |
+
max_lines=8, # 设置最大行数
|
213 |
+
show_copy_button=True # 添加复制按钮使其更方便使用
|
214 |
+
)
|
215 |
+
|
216 |
|
217 |
def show_predictions_tab(df):
|
218 |
pass
|