Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -160,7 +160,7 @@ def load_models() -> str | None:
|
|
| 160 |
# Load TenStrip fine-tuned checkpoint into the transformer
|
| 161 |
from huggingface_hub import hf_hub_download
|
| 162 |
from safetensors.torch import load_model
|
| 163 |
-
finetune_path = hf_hub_download(repo_id="TenStrip/10Eros-Max", filename="
|
| 164 |
load_model(pipe.transformer, finetune_path, strict=False, device="cpu")
|
| 165 |
pipe.transformer.to(torch.bfloat16)
|
| 166 |
pipe.transformer.set_attention_backend(ATTENTION)
|
|
|
|
| 160 |
# Load TenStrip fine-tuned checkpoint into the transformer
|
| 161 |
from huggingface_hub import hf_hub_download
|
| 162 |
from safetensors.torch import load_model
|
| 163 |
+
finetune_path = hf_hub_download(repo_id="TenStrip/10Eros-Max", filename="10Eros_Max_h3_fl2va_bf16_test2_pruned.safetensors")
|
| 164 |
load_model(pipe.transformer, finetune_path, strict=False, device="cpu")
|
| 165 |
pipe.transformer.to(torch.bfloat16)
|
| 166 |
pipe.transformer.set_attention_backend(ATTENTION)
|