linoyts HF staff commited on
Commit
8493187
·
verified ·
1 Parent(s): b706d5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -28,7 +28,8 @@ pipe_prior_redux = FluxPriorReduxPipeline.from_pretrained(
28
  torch_dtype=torch.bfloat16
29
  ).to("cuda")
30
 
31
- examples = [[Image.open("mona_lisa.jpg"), "pink hair, at the beach", "", 0.35]]
 
32
 
33
  @spaces.GPU
34
  def infer(control_image, prompt, image_2, prompt_2, reference_scale= 0.03 ,
@@ -189,7 +190,7 @@ Hyper FLUX 8 Steps LoRA](https://huggingface.co/ByteDance/Hyper-SD)
189
 
190
  gr.Examples(
191
  examples=examples,
192
- inputs=[input_image, prompt, prompt_2, reference_scale],
193
  outputs=[result],
194
  fn=infer,
195
  )
 
28
  torch_dtype=torch.bfloat16
29
  ).to("cuda")
30
 
31
+ examples = [[Image.open("mona_lisa.jpg"), "pink hair, at the beach", None, "", 0.035],
32
+ [Image.open("1665_Girl_with_a_Pearl_Earring.jpg"), "", Image.open("dali_example.jpg"), "", 0.035]]
33
 
34
  @spaces.GPU
35
  def infer(control_image, prompt, image_2, prompt_2, reference_scale= 0.03 ,
 
190
 
191
  gr.Examples(
192
  examples=examples,
193
+ inputs=[input_image, prompt, image_2, prompt_2, reference_scale],
194
  outputs=[result],
195
  fn=infer,
196
  )