Commit
·
11ccbb2
1
Parent(s):
08d5a49
Fix citation
Browse files- app.py +4 -2
- src/citation.py → pages/citation.bib +2 -2
app.py
CHANGED
@@ -4,7 +4,9 @@ from apscheduler.schedulers.background import BackgroundScheduler
|
|
4 |
from src.css_html_js import custom_css
|
5 |
from src.envs import API, REPO_ID
|
6 |
from src.process_leaderboard_data import Leaderboard
|
7 |
-
|
|
|
|
|
8 |
|
9 |
|
10 |
def restart_space():
|
@@ -143,7 +145,7 @@ with app:
|
|
143 |
citation_button = gr.Textbox(
|
144 |
label="",
|
145 |
value=CITATION_TEXT,
|
146 |
-
lines=
|
147 |
elem_id="citation-button",
|
148 |
show_copy_button=True,
|
149 |
)
|
|
|
4 |
from src.css_html_js import custom_css
|
5 |
from src.envs import API, REPO_ID
|
6 |
from src.process_leaderboard_data import Leaderboard
|
7 |
+
|
8 |
+
|
9 |
+
CITATION_TEXT = open(f"src/citation.bib", "r").read()
|
10 |
|
11 |
|
12 |
def restart_space():
|
|
|
145 |
citation_button = gr.Textbox(
|
146 |
label="",
|
147 |
value=CITATION_TEXT,
|
148 |
+
lines=62,
|
149 |
elem_id="citation-button",
|
150 |
show_copy_button=True,
|
151 |
)
|
src/citation.py → pages/citation.bib
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
author={Christop, Iwona and Kuczyński, Tomasz and Kubis, Marek},
|
3 |
title={{ClonEval: An Open Voice Cloning Benchmark}},
|
4 |
year={2025},
|
@@ -59,4 +59,4 @@ CITATION_TEXT = r"""@misc{cloneval,
|
|
59 |
version={DRAFT VERSION},
|
60 |
doi={10.5683/SP2/E8H2MF},
|
61 |
URL={https://doi.org/10.5683/SP2/E8H2MF},
|
62 |
-
}
|
|
|
1 |
+
@misc{cloneval,
|
2 |
author={Christop, Iwona and Kuczyński, Tomasz and Kubis, Marek},
|
3 |
title={{ClonEval: An Open Voice Cloning Benchmark}},
|
4 |
year={2025},
|
|
|
59 |
version={DRAFT VERSION},
|
60 |
doi={10.5683/SP2/E8H2MF},
|
61 |
URL={https://doi.org/10.5683/SP2/E8H2MF},
|
62 |
+
}
|