Spaces:
Sleeping
Sleeping
ASG Models
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -183,10 +183,7 @@ with gr.Blocks() as demo: # Use gr.Blocks to wrap the entire interface
|
|
183 |
with gr.Row(): # Arrange input/output components side-by-side
|
184 |
with gr.Column():
|
185 |
text_input = gr.Textbox(label="أدخل أي نص")
|
186 |
-
|
187 |
-
with gr.Row():
|
188 |
-
btn = gr.Button("إرسال")
|
189 |
-
btn_ai_only = gr.Button("توليد رد الذكاء الاصطناعي فقط")
|
190 |
|
191 |
with gr.Column():
|
192 |
model_choices = gr.Dropdown(
|
@@ -200,6 +197,13 @@ with gr.Blocks() as demo: # Use gr.Blocks to wrap the entire interface
|
|
200 |
label="اختر النموذج",
|
201 |
value="asg2024/vits-ar-sa-huba",
|
202 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
ai_audio = gr.Audio(label="رد الذكاء الاصطناعي الصوتي")
|
204 |
ai_text = gr.Textbox(label="رد الذكاء الاصطناعي النصي")
|
205 |
ai_audio2 = gr.Audio(label="2رد الذكاء الاصطناعي الصوتي",streaming=True)
|
|
|
183 |
with gr.Row(): # Arrange input/output components side-by-side
|
184 |
with gr.Column():
|
185 |
text_input = gr.Textbox(label="أدخل أي نص")
|
186 |
+
|
|
|
|
|
|
|
187 |
|
188 |
with gr.Column():
|
189 |
model_choices = gr.Dropdown(
|
|
|
197 |
label="اختر النموذج",
|
198 |
value="asg2024/vits-ar-sa-huba",
|
199 |
)
|
200 |
+
|
201 |
+
with gr.Row():
|
202 |
+
btn = gr.Button("إرسال")
|
203 |
+
btn_ai_only = gr.Button("توليد رد الذكاء الاصطناعي فقط")
|
204 |
+
|
205 |
+
user_audio = gr.Audio(label="صوت المدخل")
|
206 |
+
|
207 |
ai_audio = gr.Audio(label="رد الذكاء الاصطناعي الصوتي")
|
208 |
ai_text = gr.Textbox(label="رد الذكاء الاصطناعي النصي")
|
209 |
ai_audio2 = gr.Audio(label="2رد الذكاء الاصطناعي الصوتي",streaming=True)
|