Jahnavibh Claude commited on
Commit
35aa9b1
·
1 Parent(s): 8fa8095

Apply SR app's proven background CSS approach

Browse files

Use exact same CSS as SR app which has consistent background:
- body { background: #fafafa \!important; }
- .gradio-container { background-color: #fafafa \!important; }

This matches the working SR implementation instead of trying experimental approaches.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -139,14 +139,13 @@ with gr.Blocks(
139
  theme=gr.themes.Default(),
140
  title="MobileNetV2 Classification",
141
  css="""
142
- html, body, .gradio-app {
143
- background: white !important;
144
- background-color: white !important;
145
  }
146
  .gradio-container {
147
  max-width: 1200px !important;
148
  margin: auto !important;
149
- background-color: white !important;
150
  font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif !important;
151
  }
152
  .main-header {
 
139
  theme=gr.themes.Default(),
140
  title="MobileNetV2 Classification",
141
  css="""
142
+ body {
143
+ background: #fafafa !important;
 
144
  }
145
  .gradio-container {
146
  max-width: 1200px !important;
147
  margin: auto !important;
148
+ background-color: #fafafa !important;
149
  font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif !important;
150
  }
151
  .main-header {