Spaces:
Running on Zero
Running on Zero
prep: local_dir
Browse files
app.py
CHANGED
|
@@ -28,10 +28,10 @@ EXAMPLES = [3, 6, 8, 29, 31, 36]
|
|
| 28 |
CHUNKS = 24
|
| 29 |
CLIP_FRAMES = 17
|
| 30 |
|
| 31 |
-
models = Path(snapshot_download(H3_REPO, revision=H3_REV, allow_patterns=[
|
| 32 |
"text_encoders/qwen3vl_32b_minimax_h3_bf16.safetensors", "vae/minimax_h3_video_vae_fp16.safetensors",
|
| 33 |
"vae/minimax_h3_audio_vae_fp32.safetensors"]))
|
| 34 |
-
proc_dir = Path(snapshot_download(QWEN_REPO, revision=QWEN_REV, allow_patterns=[
|
| 35 |
"chat_template.json", "config.json", "generation_config.json", "merges.txt", "preprocessor_config.json",
|
| 36 |
"tokenizer_config.json", "tokenizer.json", "video_preprocessor_config.json", "vocab.json"]))
|
| 37 |
src = Path(snapshot_download(EX_REPO, repo_type="dataset", revision=EX_REV, allow_patterns=[
|
|
|
|
| 28 |
CHUNKS = 24
|
| 29 |
CLIP_FRAMES = 17
|
| 30 |
|
| 31 |
+
models = Path(snapshot_download(H3_REPO, revision=H3_REV, local_dir="/tmp/h3", allow_patterns=[
|
| 32 |
"text_encoders/qwen3vl_32b_minimax_h3_bf16.safetensors", "vae/minimax_h3_video_vae_fp16.safetensors",
|
| 33 |
"vae/minimax_h3_audio_vae_fp32.safetensors"]))
|
| 34 |
+
proc_dir = Path(snapshot_download(QWEN_REPO, revision=QWEN_REV, local_dir="/tmp/qwen_proc", allow_patterns=[
|
| 35 |
"chat_template.json", "config.json", "generation_config.json", "merges.txt", "preprocessor_config.json",
|
| 36 |
"tokenizer_config.json", "tokenizer.json", "video_preprocessor_config.json", "vocab.json"]))
|
| 37 |
src = Path(snapshot_download(EX_REPO, repo_type="dataset", revision=EX_REV, allow_patterns=[
|