Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
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,
|