Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -258,7 +258,10 @@ def chat(user_input):
|
|
| 258 |
history_display = [(msg["user_content"], msg["bot_content"]) for msg in chathistory]
|
| 259 |
return gr.update(value=''), history_display, audio_file
|
| 260 |
|
|
|
|
| 261 |
with gr.Blocks(css=custom_css) as demo:
|
|
|
|
|
|
|
| 262 |
with gr.Row():
|
| 263 |
gr.Markdown("<h2 style='text-align: center; color: #00000;'>المساعد العربي ar-pdf-chat للدردشة </h2>", rtl=True)
|
| 264 |
|
|
|
|
| 258 |
history_display = [(msg["user_content"], msg["bot_content"]) for msg in chathistory]
|
| 259 |
return gr.update(value=''), history_display, audio_file
|
| 260 |
|
| 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="logo_image")
|
| 265 |
with gr.Row():
|
| 266 |
gr.Markdown("<h2 style='text-align: center; color: #00000;'>المساعد العربي ar-pdf-chat للدردشة </h2>", rtl=True)
|
| 267 |
|