Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -275,11 +275,11 @@ with gr.Blocks(css=custom_css) as demo:
|
|
| 275 |
gr.Markdown("<h2 style='text-align: center; color: #00000;'>المساعد العربي ar-pdf-chat للدردشة </h2>", rtl=True)
|
| 276 |
|
| 277 |
with gr.Row():
|
| 278 |
-
pdf_input = gr.File(label="اختر ملف PDF")
|
| 279 |
gr.Markdown("""
|
| 280 |
### تعليمات لتحميل ملف PDF
|
| 281 |
-
<span style="color:
|
| 282 |
-
""")
|
|
|
|
| 283 |
with gr.Row():
|
| 284 |
output_label = gr.HTML(value='')
|
| 285 |
with gr.Row():
|
|
|
|
| 275 |
gr.Markdown("<h2 style='text-align: center; color: #00000;'>المساعد العربي ar-pdf-chat للدردشة </h2>", rtl=True)
|
| 276 |
|
| 277 |
with gr.Row():
|
|
|
|
| 278 |
gr.Markdown("""
|
| 279 |
### تعليمات لتحميل ملف PDF
|
| 280 |
+
<span style="color: gray; ">تأكد من اختيار ملف PDF. | حجم الملف يجب أن يكون أقل من 10 ميجابايت. | يجب أن يكون المحتوى باللغة العربية.</span>
|
| 281 |
+
""", rtl=True)
|
| 282 |
+
pdf_input = gr.File(label="اختر ملف PDF")
|
| 283 |
with gr.Row():
|
| 284 |
output_label = gr.HTML(value='')
|
| 285 |
with gr.Row():
|