ASG Models commited on
Commit
eef1809
·
verified ·
1 Parent(s): 973c041

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -157,7 +157,8 @@ def get_answer_ai(text):
157
  return response.text
158
 
159
  with gr.Blocks() as demo: # Use gr.Blocks to wrap the entire interface
160
- with gr.Tab("محادثة صوتية بالذكاء الاصطناعي باللهجة السعودية"):
 
161
  with gr.Row(): # Arrange input/output components side-by-side
162
  with gr.Column():
163
  text_input = gr.Textbox(label="أدخل أي نص")
@@ -208,7 +209,7 @@ with gr.Blocks() as demo: # Use gr.Blocks to wrap the entire interface
208
  inputs=[text_input, model_choices],
209
  outputs=[ai_audio],
210
  )
211
- with gr.Tab("Live : تحويل النص إلى كلام"):
212
  gr.Markdown("## VITS: تحويل النص إلى كلام")
213
  with gr.Row():
214
  text_input = gr.Textbox(label="أدخل النص هنا")
 
157
  return response.text
158
 
159
  with gr.Blocks() as demo: # Use gr.Blocks to wrap the entire interface
160
+ with gr.Tab("Chat AI "):
161
+ gr.Markdown("## AI: محادثة صوتية بالذكاء الاصطناعي باللهجة السعودية")
162
  with gr.Row(): # Arrange input/output components side-by-side
163
  with gr.Column():
164
  text_input = gr.Textbox(label="أدخل أي نص")
 
209
  inputs=[text_input, model_choices],
210
  outputs=[ai_audio],
211
  )
212
+ with gr.Tab("Live "):
213
  gr.Markdown("## VITS: تحويل النص إلى كلام")
214
  with gr.Row():
215
  text_input = gr.Textbox(label="أدخل النص هنا")