Spaces:
Runtime error
Runtime error
Download minimax/paths.py from HateTM/MiniMax-H3-Prompt-Enhancer: direct link, hf CLI and curl.
- Browser
- Download file 938 Bytes
-
https://huggingface.co/spaces/HateTM/MiniMax-H3-Prompt-Enhancer/resolve/main/minimax/paths.py
- Command line
-
hf download hf://spaces/HateTM/MiniMax-H3-Prompt-Enhancer/minimax/paths.py
-
curl -L -o paths.py https://huggingface.co/spaces/HateTM/MiniMax-H3-Prompt-Enhancer/resolve/main/minimax/paths.py
938 Bytes
| """Paths for the Hugging Face Space package (self-contained).""" | |
| from __future__ import annotations | |
| from pathlib import Path | |
| # Space root = parent of the minimax package | |
| ROOT = Path(__file__).resolve().parent.parent | |
| PROMPTS = ROOT / "prompts" | |
| SYSTEM_BASE_FILE = PROMPTS / "system_base.txt" | |
| SYSTEM_REF_FILE = PROMPTS / "system_ref.txt" | |
| SYSTEM_BASE_TASK_FILES = { | |
| "T2VA": PROMPTS / "system_base_t2va.txt", | |
| "I2VA": PROMPTS / "system_base_i2va.txt", | |
| "FL2VA": PROMPTS / "system_base_fl2va.txt", | |
| "L2VA": PROMPTS / "system_base_l2va.txt", | |
| } | |
| # Default Hub ids for this Space | |
| DEFAULT_MODEL = "geocine/minimax-video-prompt-enhancer-350m" | |
| DEFAULT_GGUF_REPO = "geocine/minimax-video-prompt-enhancer-350m-gguf" | |
| DEFAULT_GGUF_FILE = "minimax-video-prompt-enhancer-350m-Q4_K_M.gguf" | |
| BASE_MODEL = "LiquidAI/LFM2.5-350M" | |
| # Alias used by local app code | |
| CHAMPION_DIR = DEFAULT_MODEL | |
| GGUF_DIR = ROOT / "models" | |