Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,7 @@ MAX_SEED = np.iinfo(np.int32).max
|
|
| 12 |
|
| 13 |
# Load GGUF transformer model from Hugging Face
|
| 14 |
transformer = FluxTransformer2DModel.from_single_file(
|
| 15 |
-
"bullerwins/FLUX.1-Kontext-dev-GGUF",
|
| 16 |
-
filename="flux1-kontext-dev-Q8_0.gguf",
|
| 17 |
quantization_config=GGUFQuantizationConfig(compute_dtype=torch.bfloat16),
|
| 18 |
torch_dtype=torch.bfloat16,
|
| 19 |
)
|
|
|
|
| 12 |
|
| 13 |
# Load GGUF transformer model from Hugging Face
|
| 14 |
transformer = FluxTransformer2DModel.from_single_file(
|
| 15 |
+
"https://huggingface.co/bullerwins/FLUX.1-Kontext-dev-GGUF/resolve/main/flux1-kontext-dev-Q8_0.gguf",
|
|
|
|
| 16 |
quantization_config=GGUFQuantizationConfig(compute_dtype=torch.bfloat16),
|
| 17 |
torch_dtype=torch.bfloat16,
|
| 18 |
)
|