Daemontatox commited on
Commit
05cc9a5
·
verified ·
1 Parent(s): 0a0e9e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -204,7 +204,7 @@ def clear_chat():
204
 
205
  # Gradio Interface
206
  with gr.Blocks(theme='Hev832/Applio') as iface:
207
- gr.Image("Image.jpg", width=750, height=250, show_label=False, show_download_button=False)
208
  gr.Markdown("# Mawared HR Assistant 2.6.4")
209
  gr.Markdown('### Instructions')
210
  gr.Markdown("Ask a question about MawaredHR and get a detailed answer, if you get an error try again with same prompt, its an Api issue and we are working on it 😀")
@@ -222,10 +222,11 @@ with gr.Blocks(theme='Hev832/Applio') as iface:
222
  placeholder="Type your question here...",
223
  show_label=False
224
  )
225
- with gr.Column(scale=3):
226
- send_button = gr.Button("Send", variant="primary")
227
- with gr.Column(scale=2):
228
- clear_button = gr.Button("Clear Chat")
 
229
 
230
  # Handle both submit events (Enter key and Send button)
231
  submit_events = [question_input.submit, send_button.click]
 
204
 
205
  # Gradio Interface
206
  with gr.Blocks(theme='Hev832/Applio') as iface:
207
+ gr.Image("Image.jpg", width=750, height=300, show_label=False, show_download_button=False)
208
  gr.Markdown("# Mawared HR Assistant 2.6.4")
209
  gr.Markdown('### Instructions')
210
  gr.Markdown("Ask a question about MawaredHR and get a detailed answer, if you get an error try again with same prompt, its an Api issue and we are working on it 😀")
 
222
  placeholder="Type your question here...",
223
  show_label=False
224
  )
225
+ with gr.Column(scale=4):
226
+ with gr.Row():
227
+ with gr.Column():
228
+ send_button = gr.Button("Send", variant="primary", size="sm")
229
+ clear_button = gr.Button("Clear Chat", size="sm")
230
 
231
  # Handle both submit events (Enter key and Send button)
232
  submit_events = [question_input.submit, send_button.click]