Spaces:
Runtime error
Runtime error
ASG Models
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -213,8 +213,8 @@ with gr.Blocks() as demo: # Use gr.Blocks to wrap the entire interface
|
|
| 213 |
)
|
| 214 |
with gr.Tab("Live "):
|
| 215 |
gr.Markdown("## VITS: تحويل النص إلى كلام")
|
|
|
|
| 216 |
with gr.Row():
|
| 217 |
-
text_input = gr.Textbox(label="أدخل النص هنا")
|
| 218 |
speaker_id_input = gr.Number(label="معرّف المتحدث (اختياري)", interactive=True)
|
| 219 |
with gr.Column():
|
| 220 |
model_choices2 = gr.Dropdown(
|
|
@@ -228,6 +228,7 @@ with gr.Blocks() as demo: # Use gr.Blocks to wrap the entire interface
|
|
| 228 |
label="اختر النموذج",
|
| 229 |
value="asg2024/vits-ar-sa",
|
| 230 |
)
|
|
|
|
| 231 |
generate_button = gr.Button("توليد وتشغيل الصوت")
|
| 232 |
|
| 233 |
audio_player = gr.Audio(label="أ audio",streaming=True)
|
|
|
|
| 213 |
)
|
| 214 |
with gr.Tab("Live "):
|
| 215 |
gr.Markdown("## VITS: تحويل النص إلى كلام")
|
| 216 |
+
|
| 217 |
with gr.Row():
|
|
|
|
| 218 |
speaker_id_input = gr.Number(label="معرّف المتحدث (اختياري)", interactive=True)
|
| 219 |
with gr.Column():
|
| 220 |
model_choices2 = gr.Dropdown(
|
|
|
|
| 228 |
label="اختر النموذج",
|
| 229 |
value="asg2024/vits-ar-sa",
|
| 230 |
)
|
| 231 |
+
text_input = gr.Textbox(label="أدخل النص هنا")
|
| 232 |
generate_button = gr.Button("توليد وتشغيل الصوت")
|
| 233 |
|
| 234 |
audio_player = gr.Audio(label="أ audio",streaming=True)
|