Spaces:
Paused
Paused
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
- 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/
|
| 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
|