Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -143,12 +143,13 @@ body {
|
|
| 143 |
|
| 144 |
label {
|
| 145 |
font-size: 14px !important;
|
| 146 |
-
color: #
|
| 147 |
background-color: #FFF5E1;
|
| 148 |
}
|
| 149 |
|
| 150 |
|
| 151 |
#chatbox .message.user {
|
|
|
|
| 152 |
background-color: #FFFBE6; /* Light gray background for user messages */
|
| 153 |
border-radius: 10px;
|
| 154 |
padding: 10px;
|
|
@@ -156,6 +157,7 @@ label {
|
|
| 156 |
}
|
| 157 |
|
| 158 |
#chatbox .message.bot {
|
|
|
|
| 159 |
background-color: #E7FBE6; /* Light cyan background for bot messages */
|
| 160 |
border-radius: 10px;
|
| 161 |
padding: 10px;
|
|
@@ -167,6 +169,36 @@ label {
|
|
| 167 |
margin-right: 10px;
|
| 168 |
}
|
| 169 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170 |
"""
|
| 171 |
|
| 172 |
# Function to check if the file is a valid PDF in Arabic and less than 10MB
|
|
|
|
| 143 |
|
| 144 |
label {
|
| 145 |
font-size: 14px !important;
|
| 146 |
+
color: #EEEEEE !important;
|
| 147 |
background-color: #FFF5E1;
|
| 148 |
}
|
| 149 |
|
| 150 |
|
| 151 |
#chatbox .message.user {
|
| 152 |
+
font-family: 'Cairo', sans-serif !important;
|
| 153 |
background-color: #FFFBE6; /* Light gray background for user messages */
|
| 154 |
border-radius: 10px;
|
| 155 |
padding: 10px;
|
|
|
|
| 157 |
}
|
| 158 |
|
| 159 |
#chatbox .message.bot {
|
| 160 |
+
font-family: 'Cairo', sans-serif !important;
|
| 161 |
background-color: #E7FBE6; /* Light cyan background for bot messages */
|
| 162 |
border-radius: 10px;
|
| 163 |
padding: 10px;
|
|
|
|
| 169 |
margin-right: 10px;
|
| 170 |
}
|
| 171 |
|
| 172 |
+
#submit_button_chat {
|
| 173 |
+
background-color: #E68369;
|
| 174 |
+
color: white;
|
| 175 |
+
border: none;
|
| 176 |
+
border-radius: 5px;
|
| 177 |
+
padding: 10px 20px;
|
| 178 |
+
font-size: 16px;
|
| 179 |
+
cursor: pointer;
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
#submit_button_chat:hover {
|
| 183 |
+
background-color: white;
|
| 184 |
+
color: #E6B9A6;
|
| 185 |
+
}
|
| 186 |
+
|
| 187 |
+
#clear_btn {
|
| 188 |
+
background-color: #698474;
|
| 189 |
+
color: white;
|
| 190 |
+
border: none;
|
| 191 |
+
border-radius: 5px;
|
| 192 |
+
padding: 10px 20px;
|
| 193 |
+
font-size: 16px;
|
| 194 |
+
cursor: pointer;
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
#clear_btn:hover {
|
| 198 |
+
background-color: white;
|
| 199 |
+
color: #698474;
|
| 200 |
+
}
|
| 201 |
+
|
| 202 |
"""
|
| 203 |
|
| 204 |
# Function to check if the file is a valid PDF in Arabic and less than 10MB
|