haoyang
commited on
Commit
Β·
f0765d3
1
Parent(s):
a74b942
update comment
Browse files- app.py +2 -9
- src/display/about.py +1 -1
app.py
CHANGED
@@ -6,7 +6,6 @@ from huggingface_hub import snapshot_download
|
|
6 |
from src.display.about import (
|
7 |
CITATION_BUTTON_LABEL,
|
8 |
CITATION_BUTTON_TEXT,
|
9 |
-
COMMENT_BUTTON_LABEL,
|
10 |
COMMENT_BUTTON_TEXT,
|
11 |
EVALUATION_QUEUE_TEXT,
|
12 |
INTRODUCTION_TEXT,
|
@@ -329,19 +328,13 @@ with demo:
|
|
329 |
|
330 |
with gr.Row():
|
331 |
with gr.Accordion("π Comment", open=False):
|
332 |
-
|
333 |
-
value=COMMENT_BUTTON_TEXT,
|
334 |
-
label=COMMENT_BUTTON_LABEL,
|
335 |
-
lines=20,
|
336 |
-
elem_id="comment-button",
|
337 |
-
show_copy_button=False,
|
338 |
-
)
|
339 |
|
340 |
with gr.Row():
|
341 |
with gr.Accordion("π Citation", open=False):
|
342 |
citation_button = gr.Textbox(
|
343 |
value=CITATION_BUTTON_TEXT,
|
344 |
-
label=
|
345 |
lines=20,
|
346 |
elem_id="citation-button",
|
347 |
show_copy_button=True,
|
|
|
6 |
from src.display.about import (
|
7 |
CITATION_BUTTON_LABEL,
|
8 |
CITATION_BUTTON_TEXT,
|
|
|
9 |
COMMENT_BUTTON_TEXT,
|
10 |
EVALUATION_QUEUE_TEXT,
|
11 |
INTRODUCTION_TEXT,
|
|
|
328 |
|
329 |
with gr.Row():
|
330 |
with gr.Accordion("π Comment", open=False):
|
331 |
+
gr.Markdown(COMMENT_BUTTON_TEXT, elem_classes="markdown-text")
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
|
333 |
with gr.Row():
|
334 |
with gr.Accordion("π Citation", open=False):
|
335 |
citation_button = gr.Textbox(
|
336 |
value=CITATION_BUTTON_TEXT,
|
337 |
+
label=
|
338 |
lines=20,
|
339 |
elem_id="citation-button",
|
340 |
show_copy_button=True,
|
src/display/about.py
CHANGED
@@ -123,8 +123,8 @@ CITATION_BUTTON_TEXT = r"""
|
|
123 |
}
|
124 |
"""
|
125 |
|
126 |
-
COMMENT_BUTTON_LABEL = "We refer to the following links to mark the model parameters. Contact us if you find any issues."
|
127 |
COMMENT_BUTTON_TEXT = """
|
|
|
128 |
- https://grabon.com/blog/claude-users-statistics/
|
129 |
- https://medium.com/@seanbetts/peering-inside-gpt-4-understanding-its-mixture-of-experts-moe-architecture-2a42eb8bdcb3
|
130 |
- https://www.cnbc.com/2023/05/16/googles-palm-2-uses-nearly-five-times-more-text-data-than-predecessor.html
|
|
|
123 |
}
|
124 |
"""
|
125 |
|
|
|
126 |
COMMENT_BUTTON_TEXT = """
|
127 |
+
We refer to the following links to mark the model parameters. Contact us if you find any issues.
|
128 |
- https://grabon.com/blog/claude-users-statistics/
|
129 |
- https://medium.com/@seanbetts/peering-inside-gpt-4-understanding-its-mixture-of-experts-moe-architecture-2a42eb8bdcb3
|
130 |
- https://www.cnbc.com/2023/05/16/googles-palm-2-uses-nearly-five-times-more-text-data-than-predecessor.html
|