Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -301,7 +301,7 @@ config = TinyFluxDeepConfig()
|
|
| 301 |
model = TinyFluxDeep(config)
|
| 302 |
|
| 303 |
# Load EMA weights (best quality)
|
| 304 |
-
weights_path = hf_hub_download("AbstractPhil/tiny-flux-deep", "checkpoints/
|
| 305 |
weights = load_file(weights_path)
|
| 306 |
model.load_state_dict(weights, strict=False)
|
| 307 |
model.eval()
|
|
|
|
| 301 |
model = TinyFluxDeep(config)
|
| 302 |
|
| 303 |
# Load EMA weights (best quality)
|
| 304 |
+
weights_path = hf_hub_download("AbstractPhil/tiny-flux-deep", "checkpoints/step_297500_ema.safetensors")
|
| 305 |
weights = load_file(weights_path)
|
| 306 |
model.load_state_dict(weights, strict=False)
|
| 307 |
model.eval()
|