Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -142,15 +142,16 @@ body {
|
|
142 |
}
|
143 |
|
144 |
label {
|
145 |
-
font-size:
|
146 |
-
color:
|
|
|
147 |
}
|
148 |
.message.user {
|
149 |
-
background-color: #
|
150 |
}
|
151 |
|
152 |
.message.bot {
|
153 |
-
background-color: #
|
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='
|
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)
|