Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ MAX_SEED = np.iinfo(np.int32).max
|
|
| 15 |
MAX_IMAGE_SIZE = 2048
|
| 16 |
|
| 17 |
pipe = FluxPipeline.from_pretrained(
|
| 18 |
-
"
|
| 19 |
torch_dtype=torch.bfloat16,
|
| 20 |
token=os.getenv('HF_TOKEN'),
|
| 21 |
).to("cuda")
|
|
@@ -84,14 +84,6 @@ with gr.Blocks(css=css) as demo:
|
|
| 84 |
|
| 85 |
with gr.Column(elem_id="col-container"):
|
| 86 |
gr.Markdown(f"""# ⚡️ Fast FLUX.1 Redux [dev] ⚡️
|
| 87 |
-
An adapter for FLUX [dev] to create image variations combined with ByteDance [
|
| 88 |
-
Hyper FLUX 8 Steps LoRA](https://huggingface.co/ByteDance/Hyper-SD) 🏎️
|
| 89 |
-
Now with added support:
|
| 90 |
-
- prompt input
|
| 91 |
-
- attention masking for improved prompt adherence
|
| 92 |
-
- multiple image interpolation
|
| 93 |
-
|
| 94 |
-
[[non-commercial license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)] [[blog](https://blackforestlabs.ai/announcing-black-forest-labs/)] [[model](https://huggingface.co/black-forest-labs/FLUX.1-dev)]
|
| 95 |
""")
|
| 96 |
with gr.Row():
|
| 97 |
with gr.Column():
|
|
|
|
| 15 |
MAX_IMAGE_SIZE = 2048
|
| 16 |
|
| 17 |
pipe = FluxPipeline.from_pretrained(
|
| 18 |
+
"LPX55/FLUX.1-merged_uncensored",
|
| 19 |
torch_dtype=torch.bfloat16,
|
| 20 |
token=os.getenv('HF_TOKEN'),
|
| 21 |
).to("cuda")
|
|
|
|
| 84 |
|
| 85 |
with gr.Column(elem_id="col-container"):
|
| 86 |
gr.Markdown(f"""# ⚡️ Fast FLUX.1 Redux [dev] ⚡️
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
""")
|
| 88 |
with gr.Row():
|
| 89 |
with gr.Column():
|