Daemontatox commited on
Commit
555567e
·
verified ·
1 Parent(s): de541cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -12
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.HTML("""
182
- <div style="display: flex; justify-content: center; align-items: center; margin: 20px 0; padding: 20px; gap: 20px;">
183
- <div style="background-color: #f0f0f0; border-radius: 50%; padding: 10px; width: 100px; height: 100px; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);">
184
- <img src="./Image.jpg" alt="Mawared Logo" style="width: 80px; height: 80px; border-radius: 50%; object-fit: cover;">
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