MohammedNasser commited on
Commit
0ca0248
·
verified ·
1 Parent(s): b90eaf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -276,8 +276,12 @@ with gr.Blocks(css=custom_css) as demo:
276
 
277
  with gr.Row():
278
  pdf_input = gr.File(label="اختر ملف PDF")
 
 
 
 
279
  with gr.Row():
280
- output_label = gr.HTML(value='') # Replaced Textbox with HTML for label
281
  with gr.Row():
282
  submit_button_pdf = gr.Button("ارفع الملف", interactive=False)
283
  with gr.Row():
 
276
 
277
  with gr.Row():
278
  pdf_input = gr.File(label="اختر ملف PDF")
279
+ gr.Markdown("""
280
+ ### تعليمات لتحميل ملف PDF
281
+ <span style="color: blue; font-weight: bold;">تأكد من اختيار ملف PDF. | حجم الملف يجب أن يكون أقل من 10 ميجابايت. | يجب أن يكون المحتوى باللغة العربية.</span>
282
+ """)
283
  with gr.Row():
284
+ output_label = gr.HTML(value='')
285
  with gr.Row():
286
  submit_button_pdf = gr.Button("ارفع الملف", interactive=False)
287
  with gr.Row():