MohammedNasser commited on
Commit
8584c77
1 Parent(s): f1748f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -240,7 +240,9 @@ with gr.Blocks(css=custom_css) as demo:
240
  pdf_input = gr.File(label="اختر ملف PDF")
241
  output_label = gr.HTML(value='') # Replaced Textbox with HTML for label
242
  submit_button_pdf = gr.Button("ارفع الملف", interactive=False)
243
- chat_input = gr.Textbox(label="", rtl=True)
 
 
244
  chat_output = gr.Textbox(label="", rtl=True)
245
  audio_output = gr.Audio(label="🔊", interactive=False)
246
  submit_button_chat = gr.Button("إرسال", interactive=False)
 
240
  pdf_input = gr.File(label="اختر ملف PDF")
241
  output_label = gr.HTML(value='') # Replaced Textbox with HTML for label
242
  submit_button_pdf = gr.Button("ارفع الملف", interactive=False)
243
+ with gr.Group():
244
+ chat_input = gr.Textbox(label="", rtl=True)
245
+ clear_btn = gr.Button("مسح", interactive=False )
246
  chat_output = gr.Textbox(label="", rtl=True)
247
  audio_output = gr.Audio(label="🔊", interactive=False)
248
  submit_button_chat = gr.Button("إرسال", interactive=False)