Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -160,6 +160,14 @@ label {
|
|
| 160 |
margin-right: 10px;
|
| 161 |
}
|
| 162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
.custom-submit-button {
|
| 164 |
background-color: #E68369 !important;
|
| 165 |
border: none !important;
|
|
@@ -261,7 +269,7 @@ def chat(user_input):
|
|
| 261 |
image_path = "logo.png"
|
| 262 |
with gr.Blocks(css=custom_css) as demo:
|
| 263 |
with gr.Row():
|
| 264 |
-
gr.Image(image_path, elem_id="
|
| 265 |
with gr.Row():
|
| 266 |
gr.Markdown("<h2 style='text-align: center; color: #00000;'>المساعد العربي ar-pdf-chat للدردشة </h2>", rtl=True)
|
| 267 |
|
|
|
|
| 160 |
margin-right: 10px;
|
| 161 |
}
|
| 162 |
|
| 163 |
+
#custom-logo {
|
| 164 |
+
display: block;
|
| 165 |
+
margin-left: auto;
|
| 166 |
+
margin-right: auto;
|
| 167 |
+
width: 200px; /* Set custom width */
|
| 168 |
+
height: 100px; /* Set custom height */
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
.custom-submit-button {
|
| 172 |
background-color: #E68369 !important;
|
| 173 |
border: none !important;
|
|
|
|
| 269 |
image_path = "logo.png"
|
| 270 |
with gr.Blocks(css=custom_css) as demo:
|
| 271 |
with gr.Row():
|
| 272 |
+
gr.Image(image_path, elem_id="#custom-logo")
|
| 273 |
with gr.Row():
|
| 274 |
gr.Markdown("<h2 style='text-align: center; color: #00000;'>المساعد العربي ar-pdf-chat للدردشة </h2>", rtl=True)
|
| 275 |
|