Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
mrfakename
commited on
Commit
·
6356013
1
Parent(s):
5d5cc81
Update link styling to enhance visibility
Browse files- README.md +9 -1
- app/config.py +7 -1
- app/leaderboard.py +1 -1
- app/ui.py +3 -1
- start.sh +1 -0
README.md
CHANGED
@@ -18,4 +18,12 @@ short_description: Vote on the latest TTS models!
|
|
18 |
|
19 |
The codebase for TTS Arena v2.
|
20 |
|
21 |
-
The TTS Arena is a Gradio app with several components. Please refer to the `app` directory for more information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
The codebase for TTS Arena v2.
|
20 |
|
21 |
+
The TTS Arena is a Gradio app with several components. Please refer to the `app` directory for more information.
|
22 |
+
|
23 |
+
## Running the app
|
24 |
+
|
25 |
+
```bash
|
26 |
+
RUNNING_LOCALLY=1 python app.py
|
27 |
+
```
|
28 |
+
|
29 |
+
You must set the `RUNNING_LOCALLY` environment variable to `1` when running the app locally. This prevents it from syncing with the database.
|
app/config.py
CHANGED
@@ -41,4 +41,10 @@ CITATION_TEXT = """@misc{tts-arena,
|
|
41 |
year = 2024,
|
42 |
publisher = {Hugging Face},
|
43 |
howpublished = "\\url{https://huggingface.co/spaces/TTS-AGI/TTS-Arena}"
|
44 |
-
}"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
year = 2024,
|
42 |
publisher = {Hugging Face},
|
43 |
howpublished = "\\url{https://huggingface.co/spaces/TTS-AGI/TTS-Arena}"
|
44 |
+
}"""
|
45 |
+
|
46 |
+
NEWS = """
|
47 |
+
- 2025/01/21: New leaderboard UI released with enhanced UI and improved performance.
|
48 |
+
- 2025/01/14: CosyVoice 2.0 was added to the Arena.
|
49 |
+
- 2024/11/26: Anonymous Sparkle (Fish Speech v1.5) was added to the Arena.
|
50 |
+
"""
|
app/leaderboard.py
CHANGED
@@ -203,7 +203,7 @@ def get_leaderboard(reveal_prelim = False, hide_battle_votes = False, sort_by_el
|
|
203 |
.model-link {
|
204 |
color: var(--body-text-color) !important;
|
205 |
text-decoration: none !important;
|
206 |
-
border-bottom:
|
207 |
}
|
208 |
|
209 |
.model-link:hover {
|
|
|
203 |
.model-link {
|
204 |
color: var(--body-text-color) !important;
|
205 |
text-decoration: none !important;
|
206 |
+
border-bottom: 2px dashed rgba(128, 128, 128, 0.3);
|
207 |
}
|
208 |
|
209 |
.model-link:hover {
|
app/ui.py
CHANGED
@@ -5,8 +5,10 @@ from .ui_vote import *
|
|
5 |
from .ui_battle import *
|
6 |
from .ui_leaderboard import *
|
7 |
|
8 |
-
|
9 |
with gr.Blocks() as about:
|
|
|
|
|
|
|
10 |
gr.Markdown(ABOUT)
|
11 |
|
12 |
CSS = """
|
|
|
5 |
from .ui_battle import *
|
6 |
from .ui_leaderboard import *
|
7 |
|
|
|
8 |
with gr.Blocks() as about:
|
9 |
+
with gr.Row():
|
10 |
+
with gr.Accordion("News", open=False):
|
11 |
+
gr.Markdown(NEWS)
|
12 |
gr.Markdown(ABOUT)
|
13 |
|
14 |
CSS = """
|
start.sh
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
RUNNING_LOCALLY=1 python app.py
|