Jahnavibh Claude commited on
Commit
012d849
·
1 Parent(s): 2ce5ec1

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
@@ -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 {