Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ import re
|
|
5 |
from datetime import datetime
|
6 |
from huggingface_hub import hf_hub_download
|
7 |
from huggingface_hub import HfApi, HfFolder
|
|
|
8 |
|
9 |
LEADERBOARD_FILE = "leaderboard.csv"
|
10 |
GROUND_TRUTH_FILE = "ground_truth.csv"
|
@@ -887,6 +888,13 @@ with gr.Blocks(css=css_tech_theme) as demo:
|
|
887 |
<h3>
|
888 |
</section>
|
889 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
890 |
|
891 |
# Footer Section
|
892 |
gr.Markdown("""
|
|
|
5 |
from datetime import datetime
|
6 |
from huggingface_hub import hf_hub_download
|
7 |
from huggingface_hub import HfApi, HfFolder
|
8 |
+
from constants import CITATION_TEXT
|
9 |
|
10 |
LEADERBOARD_FILE = "leaderboard.csv"
|
11 |
GROUND_TRUTH_FILE = "ground_truth.csv"
|
|
|
888 |
<h3>
|
889 |
</section>
|
890 |
""")
|
891 |
+
|
892 |
+
with gr.Row():
|
893 |
+
with gr.Accordion("📙 Citation", open=False):
|
894 |
+
gr.Textbox(
|
895 |
+
value=CITATION_TEXT, lines=18,
|
896 |
+
label="",elem_id="citation-button",
|
897 |
+
show_copy_button=True)
|
898 |
|
899 |
# Footer Section
|
900 |
gr.Markdown("""
|