Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import json
|
|
7 |
import time
|
8 |
|
9 |
API_URL = os.environ.get("API_URL")
|
10 |
-
supported_languages = ['zh', 'en']
|
11 |
|
12 |
output_dir = 'outputs'
|
13 |
os.makedirs(output_dir, exist_ok=True)
|
@@ -200,21 +200,6 @@ examples = [
|
|
200 |
]
|
201 |
|
202 |
with gr.Blocks(analytics_enabled=False) as demo:
|
203 |
-
|
204 |
-
with gr.Row():
|
205 |
-
with gr.Column():
|
206 |
-
with gr.Row():
|
207 |
-
gr.Markdown(
|
208 |
-
"""
|
209 |
-
## <img src="https://huggingface.co/spaces/myshell-ai/OpenVoice/raw/main/logo.jpg" height="40"/>
|
210 |
-
"""
|
211 |
-
)
|
212 |
-
with gr.Row():
|
213 |
-
gr.Markdown(markdown_table_v2)
|
214 |
-
with gr.Row():
|
215 |
-
gr.Markdown(description)
|
216 |
-
with gr.Column():
|
217 |
-
gr.Video('./open_voice.mp4', autoplay=True)
|
218 |
|
219 |
with gr.Row():
|
220 |
gr.HTML(wrapped_markdown_content)
|
|
|
7 |
import time
|
8 |
|
9 |
API_URL = os.environ.get("API_URL")
|
10 |
+
supported_languages = ['zh', 'en', 'ru']
|
11 |
|
12 |
output_dir = 'outputs'
|
13 |
os.makedirs(output_dir, exist_ok=True)
|
|
|
200 |
]
|
201 |
|
202 |
with gr.Blocks(analytics_enabled=False) as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
|
204 |
with gr.Row():
|
205 |
gr.HTML(wrapped_markdown_content)
|