Spaces:
Running
on
Zero
Running
on
Zero
Disable Battle tab
Browse files
app/ui.py
CHANGED
@@ -2,7 +2,6 @@ import gradio as gr
|
|
2 |
from .config import *
|
3 |
from .messages import *
|
4 |
from .ui_vote import *
|
5 |
-
from .ui_battle import *
|
6 |
from .ui_leaderboard import *
|
7 |
|
8 |
|
@@ -11,7 +10,7 @@ with gr.Blocks() as about:
|
|
11 |
|
12 |
with gr.Blocks(css="footer {visibility: hidden}textbox{resize:none}", title="TTS Arena") as app:
|
13 |
gr.Markdown(DESCR)
|
14 |
-
gr.TabbedInterface([vote,
|
15 |
if CITATION_TEXT:
|
16 |
with gr.Row():
|
17 |
with gr.Accordion("Citation", open=False):
|
|
|
2 |
from .config import *
|
3 |
from .messages import *
|
4 |
from .ui_vote import *
|
|
|
5 |
from .ui_leaderboard import *
|
6 |
|
7 |
|
|
|
10 |
|
11 |
with gr.Blocks(css="footer {visibility: hidden}textbox{resize:none}", title="TTS Arena") as app:
|
12 |
gr.Markdown(DESCR)
|
13 |
+
gr.TabbedInterface([vote, leaderboard, about], ['Vote', 'Leaderboard', 'About'])
|
14 |
if CITATION_TEXT:
|
15 |
with gr.Row():
|
16 |
with gr.Accordion("Citation", open=False):
|