Jahnavibh Claude commited on
Commit
2ad22dc
·
1 Parent(s): 35aa9b1

Add missing neutral_hue parameter to match SR theme exactly

Browse files

SR app uses theme=gr.themes.Default(primary_hue="blue", neutral_hue="gray")
while our demos only used theme=gr.themes.Default().

The neutral_hue="gray" parameter may be critical for consistent background rendering on HuggingFace Spaces.

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

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

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -136,7 +136,7 @@ def load_example_image(example_path):
136
 
137
  # Create Gradio interface
138
  with gr.Blocks(
139
- theme=gr.themes.Default(),
140
  title="MobileNetV2 Classification",
141
  css="""
142
  body {
 
136
 
137
  # Create Gradio interface
138
  with gr.Blocks(
139
+ theme=gr.themes.Default(primary_hue="blue", neutral_hue="gray"),
140
  title="MobileNetV2 Classification",
141
  css="""
142
  body {