Spaces:
Sleeping
Sleeping
Add missing neutral_hue parameter to match SR theme exactly
Browse filesSR 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]>
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 {
|