Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
# app.py
|
2 |
import sys, os, json, shutil, re, time, gc, hashlib
|
3 |
import pandas as pd
|
4 |
from datetime import datetime
|
@@ -175,32 +174,46 @@ def create_ui(agent):
|
|
175 |
background-color: #0e1621;
|
176 |
color: #e0e0e0;
|
177 |
font-family: 'Inter', sans-serif;
|
|
|
|
|
178 |
}
|
|
|
179 |
h2, h3, h4 {
|
180 |
color: #89b4fa;
|
181 |
font-weight: 600;
|
182 |
}
|
|
|
183 |
.gr-button.primary {
|
184 |
background-color: #1e88e5;
|
185 |
color: white;
|
186 |
font-weight: bold;
|
187 |
border-radius: 8px;
|
188 |
padding: 0.65em 1.2em;
|
|
|
189 |
}
|
|
|
190 |
.gr-button.primary:hover {
|
191 |
background-color: #1565c0;
|
192 |
}
|
|
|
193 |
.gr-chatbot, .gr-markdown, .gr-file-upload {
|
194 |
-
border-radius:
|
195 |
background-color: #1b2533;
|
196 |
border: 1px solid #2a2f45;
|
|
|
197 |
}
|
|
|
198 |
.gr-chatbot .message {
|
199 |
-
font-size:
|
200 |
line-height: 1.6;
|
|
|
|
|
|
|
201 |
}
|
|
|
202 |
.gr-file-upload .file-name {
|
203 |
font-size: 14px;
|
|
|
204 |
}
|
205 |
""") as demo:
|
206 |
gr.Markdown("""
|
|
|
|
|
1 |
import sys, os, json, shutil, re, time, gc, hashlib
|
2 |
import pandas as pd
|
3 |
from datetime import datetime
|
|
|
174 |
background-color: #0e1621;
|
175 |
color: #e0e0e0;
|
176 |
font-family: 'Inter', sans-serif;
|
177 |
+
padding: 0;
|
178 |
+
margin: 0;
|
179 |
}
|
180 |
+
|
181 |
h2, h3, h4 {
|
182 |
color: #89b4fa;
|
183 |
font-weight: 600;
|
184 |
}
|
185 |
+
|
186 |
.gr-button.primary {
|
187 |
background-color: #1e88e5;
|
188 |
color: white;
|
189 |
font-weight: bold;
|
190 |
border-radius: 8px;
|
191 |
padding: 0.65em 1.2em;
|
192 |
+
font-size: 16px;
|
193 |
}
|
194 |
+
|
195 |
.gr-button.primary:hover {
|
196 |
background-color: #1565c0;
|
197 |
}
|
198 |
+
|
199 |
.gr-chatbot, .gr-markdown, .gr-file-upload {
|
200 |
+
border-radius: 16px;
|
201 |
background-color: #1b2533;
|
202 |
border: 1px solid #2a2f45;
|
203 |
+
padding: 10px;
|
204 |
}
|
205 |
+
|
206 |
.gr-chatbot .message {
|
207 |
+
font-size: 16px;
|
208 |
line-height: 1.6;
|
209 |
+
white-space: pre-wrap;
|
210 |
+
word-break: break-word;
|
211 |
+
margin: 8px 0;
|
212 |
}
|
213 |
+
|
214 |
.gr-file-upload .file-name {
|
215 |
font-size: 14px;
|
216 |
+
color: #89b4fa;
|
217 |
}
|
218 |
""") as demo:
|
219 |
gr.Markdown("""
|