Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,22 +72,29 @@ example_questions = [
|
|
| 72 |
LOGO_PATH = "image.png"
|
| 73 |
|
| 74 |
with gr.Blocks(title="مساعد قاعدة بيانات الحديث الشريف") as demo:
|
| 75 |
-
|
| 76 |
with gr.Column(scale=1, min_width=100):
|
| 77 |
gr.Image(value=LOGO_PATH, show_label=False, interactive=False, height=70, width=70)
|
| 78 |
with gr.Column(scale=8):
|
| 79 |
-
gr.
|
| 80 |
"""
|
| 81 |
-
<div style='
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
مساعد قاعدة بيانات الحديث الشريف
|
| 83 |
<div style='font-size:16px; font-weight:normal; margin-top:5px;'>
|
| 84 |
استكشف الأحاديث النبوية وعلومها بسهولة
|
| 85 |
</div>
|
| 86 |
</div>
|
| 87 |
-
"""
|
| 88 |
-
elem_id="header-title"
|
| 89 |
)
|
| 90 |
-
|
| 91 |
with gr.Row():
|
| 92 |
with gr.Column(scale=3):
|
| 93 |
gr.Markdown("""
|
|
|
|
| 72 |
LOGO_PATH = "image.png"
|
| 73 |
|
| 74 |
with gr.Blocks(title="مساعد قاعدة بيانات الحديث الشريف") as demo:
|
| 75 |
+
with gr.Row():
|
| 76 |
with gr.Column(scale=1, min_width=100):
|
| 77 |
gr.Image(value=LOGO_PATH, show_label=False, interactive=False, height=70, width=70)
|
| 78 |
with gr.Column(scale=8):
|
| 79 |
+
gr.HTML(
|
| 80 |
"""
|
| 81 |
+
<div style='
|
| 82 |
+
background-color:#2E7D32;
|
| 83 |
+
color:white;
|
| 84 |
+
padding:15px;
|
| 85 |
+
border-radius:10px;
|
| 86 |
+
text-align:center;
|
| 87 |
+
font-size:22px;
|
| 88 |
+
font-weight:bold;
|
| 89 |
+
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
|
| 90 |
+
'>
|
| 91 |
مساعد قاعدة بيانات الحديث الشريف
|
| 92 |
<div style='font-size:16px; font-weight:normal; margin-top:5px;'>
|
| 93 |
استكشف الأحاديث النبوية وعلومها بسهولة
|
| 94 |
</div>
|
| 95 |
</div>
|
| 96 |
+
"""
|
|
|
|
| 97 |
)
|
|
|
|
| 98 |
with gr.Row():
|
| 99 |
with gr.Column(scale=3):
|
| 100 |
gr.Markdown("""
|