Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ def remote_text_encoder(prompts):
|
|
| 62 |
return prompt_embeds
|
| 63 |
|
| 64 |
# Load model
|
| 65 |
-
repo_id = "
|
| 66 |
|
| 67 |
dit = Flux2Transformer2DModel.from_pretrained(
|
| 68 |
repo_id,
|
|
@@ -251,7 +251,7 @@ with gr.Blocks() as demo:
|
|
| 251 |
|
| 252 |
with gr.Column(elem_id="col-container"):
|
| 253 |
gr.Markdown(f"""# FLUX.2 [dev]
|
| 254 |
-
FLUX.2 [dev] is a 32B model rectified flow capable of generating, editing and combining images based on text instructions model [[model](https://huggingface.co/
|
| 255 |
""")
|
| 256 |
with gr.Row():
|
| 257 |
with gr.Column():
|
|
|
|
| 62 |
return prompt_embeds
|
| 63 |
|
| 64 |
# Load model
|
| 65 |
+
repo_id = "asp2131/FLUX.2-dev"
|
| 66 |
|
| 67 |
dit = Flux2Transformer2DModel.from_pretrained(
|
| 68 |
repo_id,
|
|
|
|
| 251 |
|
| 252 |
with gr.Column(elem_id="col-container"):
|
| 253 |
gr.Markdown(f"""# FLUX.2 [dev]
|
| 254 |
+
FLUX.2 [dev] is a 32B model rectified flow capable of generating, editing and combining images based on text instructions model [[model](https://huggingface.co/asp2131/FLUX.2-dev)], [[blog](https://bfl.ai/blog/flux-2)]
|
| 255 |
""")
|
| 256 |
with gr.Row():
|
| 257 |
with gr.Column():
|