0xZohar commited on
Commit
f1260ee
·
verified ·
1 Parent(s): 8c9797f

Fix: Restore demo.py to use correct config file (open_model_v0.5.yaml)

Browse files

- Changed config_path from open_model.yaml back to open_model_v0.5.yaml
- open_model_v0.5.yaml is the validated production config (5-layer GPT)
- Fixes dimension mismatch error (ldr_proj 959 vs 2048)
- This matches the original demo configuration

Files changed (1) hide show
  1. code/demo.py +1 -1
code/demo.py CHANGED
@@ -57,7 +57,7 @@ def get_gpt_engine_cached():
57
  print("🔧 Initializing GPT engine (one-time setup)...")
58
 
59
  # Use absolute path relative to this file (fixes HF Spaces deployment)
60
- config_path = os.path.join(os.path.dirname(__file__), 'cube3d/configs/open_model.yaml')
61
  gpt_ckpt_path = None # test mode doesn't use this
62
 
63
  # Detect HuggingFace Spaces environment
 
57
  print("🔧 Initializing GPT engine (one-time setup)...")
58
 
59
  # Use absolute path relative to this file (fixes HF Spaces deployment)
60
+ config_path = os.path.join(os.path.dirname(__file__), 'cube3d/configs/open_model_v0.5.yaml')
61
  gpt_ckpt_path = None # test mode doesn't use this
62
 
63
  # Detect HuggingFace Spaces environment