Spaces:
Runtime error
Runtime error
Eren Gölge
commited on
Commit
•
0ed9306
1
Parent(s):
b8ad998
Update SDK
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🐸
|
|
4 |
colorFrom: green
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
|
|
4 |
colorFrom: green
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.31.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
app.py
CHANGED
@@ -56,18 +56,10 @@ def tts(text: str, model_name: str):
|
|
56 |
|
57 |
|
58 |
title = """<h1 align="center">🐸💬 CoquiTTS Playground </h1>"""
|
59 |
-
|
60 |
-
|
61 |
-
display: block;
|
62 |
-
margin-left: auto;
|
63 |
-
margin-right: auto;
|
64 |
-
}
|
65 |
-
"""
|
66 |
-
|
67 |
-
with gr.Blocks(analytics_enabled=False, css=custom_css) as demo:
|
68 |
with gr.Row():
|
69 |
with gr.Column():
|
70 |
-
# gr.Image("https://raw.githubusercontent.com/coqui-ai/TTS/main/images/coqui-log-green-TTS.png", elem_id="banner-image", show_label=False)
|
71 |
gr.Markdown(
|
72 |
"""
|
73 |
## <img src="https://raw.githubusercontent.com/coqui-ai/TTS/main/images/coqui-log-green-TTS.png" height="56"/>
|
@@ -168,4 +160,4 @@ with gr.Blocks(analytics_enabled=False, css=custom_css) as demo:
|
|
168 |
outputs=[output_audio],
|
169 |
)
|
170 |
|
171 |
-
|
|
|
56 |
|
57 |
|
58 |
title = """<h1 align="center">🐸💬 CoquiTTS Playground </h1>"""
|
59 |
+
|
60 |
+
with gr.Blocks(analytics_enabled=False) as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
with gr.Row():
|
62 |
with gr.Column():
|
|
|
63 |
gr.Markdown(
|
64 |
"""
|
65 |
## <img src="https://raw.githubusercontent.com/coqui-ai/TTS/main/images/coqui-log-green-TTS.png" height="56"/>
|
|
|
160 |
outputs=[output_audio],
|
161 |
)
|
162 |
|
163 |
+
demo.queue(concurrency_count=16).launch(debug=True)
|