Cascade Bot commited on
Commit
abf07ad
·
1 Parent(s): 83ea6e1

fix: simplify theme and remove custom fonts

Browse files

- Remove custom font references
- Simplify theme configuration
- Remove unused CSS classes
- Use system default fonts

Files changed (1) hide show
  1. app.py +3 -18
app.py CHANGED
@@ -196,20 +196,15 @@ class ChatInterface:
196
  with gr.Blocks(
197
  title="Advanced Agentic System",
198
  theme=gr.themes.Soft(
199
- primary_hue=gr.themes.colors.blue,
200
- secondary_hue=gr.themes.colors.sky,
201
- neutral_hue=gr.themes.colors.gray,
202
- spacing_size="lg",
203
- radius_size="lg",
204
- text_size="lg",
205
- font=["Poppins", "ui-sans-serif", "system-ui", "sans-serif"],
206
  ),
207
  css="""
208
  .gradio-container {
209
  max-width: 1200px !important;
210
  margin: auto;
211
  padding: 20px;
212
- font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
213
  }
214
  .chat-message {
215
  padding: 15px;
@@ -246,16 +241,6 @@ class ChatInterface:
246
  padding: 1rem;
247
  margin: 0.5rem 0;
248
  }
249
- .avatar {
250
- width: 40px;
251
- height: 40px;
252
- border-radius: 50%;
253
- margin-right: 10px;
254
- }
255
- .timestamp {
256
- font-size: 0.8rem;
257
- color: var(--neutral-500);
258
- }
259
  """
260
  ) as interface:
261
  gr.Markdown("""
 
196
  with gr.Blocks(
197
  title="Advanced Agentic System",
198
  theme=gr.themes.Soft(
199
+ primary_hue="blue",
200
+ secondary_hue="indigo",
201
+ neutral_hue="slate",
 
 
 
 
202
  ),
203
  css="""
204
  .gradio-container {
205
  max-width: 1200px !important;
206
  margin: auto;
207
  padding: 20px;
 
208
  }
209
  .chat-message {
210
  padding: 15px;
 
241
  padding: 1rem;
242
  margin: 0.5rem 0;
243
  }
 
 
 
 
 
 
 
 
 
 
244
  """
245
  ) as interface:
246
  gr.Markdown("""