Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -178,18 +178,10 @@ def clear_chat():
|
|
| 178 |
|
| 179 |
# Gradio Interface
|
| 180 |
with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
| 181 |
-
gr.
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
</div>
|
| 186 |
-
<div style="display: flex; flex-direction: column;">
|
| 187 |
-
<h1 style="margin: 0; font-size: 2.5em; color: #2d2d2d;">Mawared HR</h1>
|
| 188 |
-
<p style="margin: 5px 0 0 0; color: #666; font-size: 1.2em;">AI Assistant</p>
|
| 189 |
-
</div>
|
| 190 |
-
</div>
|
| 191 |
-
<div style="width: 100%; height: 2px; background: linear-gradient(to right, #e0e0e0, #666, #e0e0e0); margin: 0 0 20px 0;"></div>
|
| 192 |
-
""")
|
| 193 |
gr.Markdown("# Mawared HR Assistant")
|
| 194 |
gr.Markdown("Ask questions about the Mawared HR system, and this assistant will provide answers based on the available context and conversation history.")
|
| 195 |
|
|
|
|
| 178 |
|
| 179 |
# Gradio Interface
|
| 180 |
with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
| 181 |
+
with gr.Row(elem_id="header-row"):
|
| 182 |
+
with gr.Column(scale=1):
|
| 183 |
+
gr.Image("Image.jpg", show_label=False, container=False, height=80, width=80, image_mode="RGBA", shape=(80, 80))
|
| 184 |
+
with gr.Column(scale=3):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 185 |
gr.Markdown("# Mawared HR Assistant")
|
| 186 |
gr.Markdown("Ask questions about the Mawared HR system, and this assistant will provide answers based on the available context and conversation history.")
|
| 187 |
|