Spaces:
Paused
Paused
alan
commited on
Commit
Β·
0a2cce6
1
Parent(s):
509801b
admin off
Browse files
app.py
CHANGED
|
@@ -978,17 +978,17 @@ with gr.Blocks() as vote:
|
|
| 978 |
|
| 979 |
with gr.Blocks() as about:
|
| 980 |
gr.Markdown(ABOUT)
|
| 981 |
-
with gr.Blocks() as admin:
|
| 982 |
-
|
| 983 |
-
|
| 984 |
-
|
| 985 |
-
|
| 986 |
-
|
| 987 |
-
|
| 988 |
with gr.Blocks(theme=theme, css="footer {visibility: hidden}textbox{resize:none}", title="JA TTS Arena") as demo:
|
| 989 |
gr.Markdown(DESCR)
|
| 990 |
-
gr.TabbedInterface([vote, leaderboard, about, admin], ['Vote', 'Leaderboard', 'About', 'Admin (ONLY IN BETA)'])
|
| 991 |
-
|
| 992 |
if CITATION_TEXT:
|
| 993 |
with gr.Row():
|
| 994 |
with gr.Accordion("Citation", open=False):
|
|
|
|
| 978 |
|
| 979 |
with gr.Blocks() as about:
|
| 980 |
gr.Markdown(ABOUT)
|
| 981 |
+
# with gr.Blocks() as admin:
|
| 982 |
+
# rdb = gr.Button("Reload Audio Dataset")
|
| 983 |
+
# # rdb.click(reload_audio_dataset, outputs=rdb)
|
| 984 |
+
# with gr.Group():
|
| 985 |
+
# dbtext = gr.Textbox(label="Type \"delete db\" to confirm", placeholder="delete db")
|
| 986 |
+
# ddb = gr.Button("Delete DB")
|
| 987 |
+
# ddb.click(del_db, inputs=dbtext, outputs=ddb)
|
| 988 |
with gr.Blocks(theme=theme, css="footer {visibility: hidden}textbox{resize:none}", title="JA TTS Arena") as demo:
|
| 989 |
gr.Markdown(DESCR)
|
| 990 |
+
# gr.TabbedInterface([vote, leaderboard, about, admin], ['Vote', 'Leaderboard', 'About', 'Admin (ONLY IN BETA)'])
|
| 991 |
+
gr.TabbedInterface([vote, leaderboard, about], ['π³οΈ Vote', 'π Leaderboard', 'π About'])
|
| 992 |
if CITATION_TEXT:
|
| 993 |
with gr.Row():
|
| 994 |
with gr.Accordion("Citation", open=False):
|