Spaces:
Running
Running
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
@@ -391,7 +391,7 @@ def compile_uploaded_model(model_file):
|
|
391 |
|
392 |
# Create Gradio interface
|
393 |
with gr.Blocks(
|
394 |
-
theme=gr.themes.Default(),
|
395 |
title="DSCNN Wake Word Detection",
|
396 |
css="""
|
397 |
body {
|
|
|
391 |
|
392 |
# Create Gradio interface
|
393 |
with gr.Blocks(
|
394 |
+
theme=gr.themes.Default(primary_hue="blue", neutral_hue="gray"),
|
395 |
title="DSCNN Wake Word Detection",
|
396 |
css="""
|
397 |
body {
|