Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from diffusers.utils import load_image
|
|
10 |
|
11 |
MAX_SEED = np.iinfo(np.int32).max
|
12 |
|
13 |
-
pipe = FluxKontextPipeline.from_pretrained("
|
14 |
|
15 |
@spaces.GPU
|
16 |
def infer(input_image, prompt, seed=42, randomize_seed=False, guidance_scale=2.5, steps=28, progress=gr.Progress(track_tqdm=True)):
|
@@ -91,8 +91,8 @@ css="""
|
|
91 |
with gr.Blocks(css=css) as demo:
|
92 |
|
93 |
with gr.Column(elem_id="col-container"):
|
94 |
-
gr.Markdown(f"""#
|
95 |
-
Image editing and manipulation model guidance-distilled from
|
96 |
""")
|
97 |
with gr.Row():
|
98 |
with gr.Column():
|
|
|
10 |
|
11 |
MAX_SEED = np.iinfo(np.int32).max
|
12 |
|
13 |
+
pipe = FluxKontextPipeline.from_pretrained("prithivMLmods/Flux.1-Fusion-KonKrea", torch_dtype=torch.bfloat16).to("cuda")
|
14 |
|
15 |
@spaces.GPU
|
16 |
def infer(input_image, prompt, seed=42, randomize_seed=False, guidance_scale=2.5, steps=28, progress=gr.Progress(track_tqdm=True)):
|
|
|
91 |
with gr.Blocks(css=css) as demo:
|
92 |
|
93 |
with gr.Column(elem_id="col-container"):
|
94 |
+
gr.Markdown(f"""# Flux.1 Fusion KonKrea
|
95 |
+
Image editing and manipulation model guidance-distilled from Flux.1-Fusion-KonKrea, [[model]](https://huggingface.co/prithivMLmods/Flux.1-Fusion-KonKrea)
|
96 |
""")
|
97 |
with gr.Row():
|
98 |
with gr.Column():
|