MohammedNasser commited on
Commit
45672e3
·
verified ·
1 Parent(s): 4fe5255

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -142,15 +142,16 @@ body {
142
  }
143
 
144
  label {
145
- font-size: 16px !important;
146
- color: darkgray !important;
 
147
  }
148
  .message.user {
149
- background-color: #FFFFFF;
150
  }
151
 
152
  .message.bot {
153
- background-color: #F7EED3;
154
  }
155
 
156
  .message::before {
@@ -240,7 +241,7 @@ with gr.Blocks(css=custom_css) as demo:
240
  submit_button_pdf = gr.Button("ارفع الملف", interactive=False)
241
  with gr.Row():
242
  with gr.Column(scale=3):
243
- chatbot = gr.Chatbot(label="الشات", elem_id="chatbox", height=400, rtl=True, layout='bubble', bubble_full_width=False)
244
 
245
  with gr.Row():
246
  chat_input = gr.Textbox(label="💬", rtl=True, visible=False, placeholder="أدخل سؤالك هنا ..", elem_id="inputbox", lines=2)
 
142
  }
143
 
144
  label {
145
+ font-size: 14px !important;
146
+ color: #0C1844 !important;
147
+ background-color: #FFF5E1;
148
  }
149
  .message.user {
150
+ background-color: #ECFFE6;
151
  }
152
 
153
  .message.bot {
154
+ background-color: #FFF6EA;
155
  }
156
 
157
  .message::before {
 
241
  submit_button_pdf = gr.Button("ارفع الملف", interactive=False)
242
  with gr.Row():
243
  with gr.Column(scale=3):
244
+ chatbot = gr.Chatbot(label="الشات", elem_id="chatbox", height=400, rtl=True, layout='panel')
245
 
246
  with gr.Row():
247
  chat_input = gr.Textbox(label="💬", rtl=True, visible=False, placeholder="أدخل سؤالك هنا ..", elem_id="inputbox", lines=2)