Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,9 +42,9 @@ GPU_SIZE = os.environ.get("H3_GPU_SIZE", "xlarge")
|
|
| 42 |
# default, which reproduces the official weights exactly. Confirmed diffusers-native key naming (not ComfyUI,
|
| 43 |
# not pruned-AdaLN) via `xal2077/PinkCherry_MiniMax-H3-Demo`'s own working `load_state_dict(strict=True)` call
|
| 44 |
# against an earlier release of the same lineage.
|
| 45 |
-
CUSTOM_TRANSFORMER_REPO = os.environ.get("H3_CUSTOM_TRANSFORMER_REPO", "
|
| 46 |
CUSTOM_TRANSFORMER_FILE = os.environ.get(
|
| 47 |
-
"H3_CUSTOM_TRANSFORMER_FILE", "
|
| 48 |
)
|
| 49 |
|
| 50 |
LORA_REPO = os.environ.get("H3_LORA_REPO", "dagloop5/LoRA")
|
|
|
|
| 42 |
# default, which reproduces the official weights exactly. Confirmed diffusers-native key naming (not ComfyUI,
|
| 43 |
# not pruned-AdaLN) via `xal2077/PinkCherry_MiniMax-H3-Demo`'s own working `load_state_dict(strict=True)` call
|
| 44 |
# against an earlier release of the same lineage.
|
| 45 |
+
CUSTOM_TRANSFORMER_REPO = os.environ.get("H3_CUSTOM_TRANSFORMER_REPO", "Comfy-Org/MiniMax-H3")
|
| 46 |
CUSTOM_TRANSFORMER_FILE = os.environ.get(
|
| 47 |
+
"H3_CUSTOM_TRANSFORMER_FILE", "diffusion_models/minimax_h3_fl2va_bf16.safetensors"
|
| 48 |
)
|
| 49 |
|
| 50 |
LORA_REPO = os.environ.get("H3_LORA_REPO", "dagloop5/LoRA")
|