ariG23498 HF staff commited on
Commit
2454249
·
verified ·
1 Parent(s): 7ce0964

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -27,9 +27,8 @@ def generate(prompt, input_image):
27
  Runs the Flux Control pipeline for editing the given `input_image`
28
  with the specified `prompt`. The pipeline is on CPU by default.
29
  """
30
- # Perform inference
31
  output_image = pipeline(
32
- control_image=image,
33
  prompt=prompt,
34
  guidance_scale=30.,
35
  num_inference_steps=8,
 
27
  Runs the Flux Control pipeline for editing the given `input_image`
28
  with the specified `prompt`. The pipeline is on CPU by default.
29
  """
 
30
  output_image = pipeline(
31
+ control_image=input_image,
32
  prompt=prompt,
33
  guidance_scale=30.,
34
  num_inference_steps=8,