Peter Michael Gits Claude commited on
Commit
6558d32
·
1 Parent(s): 1195fdc

Fix HuggingFace configuration - force Docker mode over Rust moshi-server

Browse files

v2.0.1 - CRITICAL CONFIG FIX: HF was running Rust moshi-server instead of our Docker
1. Updated .space_config.yaml hardware: t4-small → l4 (was inconsistent with README)
2. Added disable_embedding: true to prevent HF auto-detection overrides
3. Ensure HuggingFace uses our custom Docker container, not built-in Rust server
4. Fixes: 'Starting Python frontend and official moshi-server' issue
5. Should now run our Python FastAPI app with full Moshi model

Force Docker execution over HF defaults!

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

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (2) hide show
  1. .space_config.yaml +2 -1
  2. app.py +1 -1
.space_config.yaml CHANGED
@@ -4,6 +4,7 @@ colorFrom: blue
4
  colorTo: green
5
  sdk: docker
6
  app_port: 7860
7
- hardware: t4-small
8
  sleep_time_timeout: 1800
9
  suggested_storage: standard
 
 
4
  colorTo: green
5
  sdk: docker
6
  app_port: 7860
7
+ hardware: l4
8
  sleep_time_timeout: 1800
9
  suggested_storage: standard
10
+ disable_embedding: true
app.py CHANGED
@@ -21,7 +21,7 @@ from fastapi.responses import JSONResponse, HTMLResponse
21
  import uvicorn
22
 
23
  # Version tracking
24
- VERSION = "2.0.0"
25
  COMMIT_SHA = "TBD"
26
 
27
  # Configure logging
 
21
  import uvicorn
22
 
23
  # Version tracking
24
+ VERSION = "2.0.1"
25
  COMMIT_SHA = "TBD"
26
 
27
  # Configure logging