prithivMLmods commited on
Commit
68b7dbf
·
verified ·
1 Parent(s): 92668fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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("black-forest-labs/FLUX.1-Kontext-dev", 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,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"""# FLUX.1 Kontext [dev]
95
- Image editing and manipulation model guidance-distilled from FLUX.1 Kontext [pro], [[blog]](https://bfl.ai/announcements/flux-1-kontext-dev) [[model]](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev)
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():