Spaces:
Running
Running
Open TTS Tracker tab
Browse files
app.py
CHANGED
|
@@ -552,9 +552,21 @@ The leaderboard displays models in descending order of how natural they sound (b
|
|
| 552 |
|
| 553 |
Important: In order to help keep results fair, the leaderboard hides results by default until the number of votes passes a threshold. Tick the `Reveal preliminary results` to show models without sufficient votes. Please note that preliminary results may be inaccurate. [This dataset is public](https://huggingface.co/datasets/{DB_DATASET_ID}) and only saves the hardcoded sentences while keeping the voters anonymous.
|
| 554 |
""".strip()
|
|
|
|
|
|
|
| 555 |
|
|
|
|
| 556 |
|
| 557 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 558 |
|
| 559 |
# def reload_audio_dataset():
|
| 560 |
# global audio_dataset
|
|
@@ -1561,6 +1573,9 @@ with gr.Blocks() as vote:
|
|
| 1561 |
|
| 1562 |
with gr.Blocks() as about:
|
| 1563 |
gr.Markdown(ABOUT)
|
|
|
|
|
|
|
|
|
|
| 1564 |
# with gr.Blocks() as admin:
|
| 1565 |
# rdb = gr.Button("Reload Audio Dataset")
|
| 1566 |
# # rdb.click(reload_audio_dataset, outputs=rdb)
|
|
@@ -1572,7 +1587,7 @@ with gr.Blocks() as about:
|
|
| 1572 |
with gr.Blocks(theme=theme, css="footer {visibility: hidden}textbox{resize:none} .blurred-text {filter: blur(0.15em);}", head=shortcut_js, title="TTS Arena") as demo:
|
| 1573 |
gr.Markdown(DESCR)
|
| 1574 |
# gr.TabbedInterface([vote, leaderboard, about, admin], ['Vote', 'Leaderboard', 'About', 'Admin (ONLY IN BETA)'])
|
| 1575 |
-
gr.TabbedInterface([vote, leaderboard, about], ['π³οΈ Vote', 'π Leaderboard', 'π About'])
|
| 1576 |
if CITATION_TEXT:
|
| 1577 |
with gr.Row():
|
| 1578 |
with gr.Accordion("Citation", open=False):
|
|
|
|
| 552 |
|
| 553 |
Important: In order to help keep results fair, the leaderboard hides results by default until the number of votes passes a threshold. Tick the `Reveal preliminary results` to show models without sufficient votes. Please note that preliminary results may be inaccurate. [This dataset is public](https://huggingface.co/datasets/{DB_DATASET_ID}) and only saves the hardcoded sentences while keeping the voters anonymous.
|
| 554 |
""".strip()
|
| 555 |
+
TTS_INFO = f"""
|
| 556 |
+
## π£ Contenders
|
| 557 |
|
| 558 |
+
### Open Source TTS Capabilities table
|
| 559 |
|
| 560 |
+
See the Dataset itself for more in depth information for each model.
|
| 561 |
+
""".strip()
|
| 562 |
+
TTS_IFRAME = """
|
| 563 |
+
<iframe
|
| 564 |
+
src="https://huggingface.co/datasets/Pendrokar/open_tts_tracker/embed/viewer/default/train"
|
| 565 |
+
frameborder="0"
|
| 566 |
+
width="100%"
|
| 567 |
+
height="560px"
|
| 568 |
+
></iframe>
|
| 569 |
+
""".strip()
|
| 570 |
|
| 571 |
# def reload_audio_dataset():
|
| 572 |
# global audio_dataset
|
|
|
|
| 1573 |
|
| 1574 |
with gr.Blocks() as about:
|
| 1575 |
gr.Markdown(ABOUT)
|
| 1576 |
+
with gr.Blocks() as tts_info:
|
| 1577 |
+
gr.Markdown(TTS_INFO)
|
| 1578 |
+
gr.HTML(TTS_IFRAME)
|
| 1579 |
# with gr.Blocks() as admin:
|
| 1580 |
# rdb = gr.Button("Reload Audio Dataset")
|
| 1581 |
# # rdb.click(reload_audio_dataset, outputs=rdb)
|
|
|
|
| 1587 |
with gr.Blocks(theme=theme, css="footer {visibility: hidden}textbox{resize:none} .blurred-text {filter: blur(0.15em);}", head=shortcut_js, title="TTS Arena") as demo:
|
| 1588 |
gr.Markdown(DESCR)
|
| 1589 |
# gr.TabbedInterface([vote, leaderboard, about, admin], ['Vote', 'Leaderboard', 'About', 'Admin (ONLY IN BETA)'])
|
| 1590 |
+
gr.TabbedInterface([vote, leaderboard, about, tts_info], ['π³οΈ Vote', 'π Leaderboard', 'π About', 'π£ Contenders'])
|
| 1591 |
if CITATION_TEXT:
|
| 1592 |
with gr.Row():
|
| 1593 |
with gr.Accordion("Citation", open=False):
|