Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -31,11 +31,11 @@ controlnet_model = 'InstantX/FLUX.1-dev-Controlnet-Canny-alpha'
|
|
31 |
# t5_slider_controlnet = T5SliderFlux(sd_pipe=pipe_controlnet,device=torch.device("cuda"))
|
32 |
|
33 |
|
34 |
-
@spaces.GPU(duration=
|
35 |
def generate(slider_x, slider_y, prompt, seed, iterations, steps, guidance_scale,
|
36 |
x_concept_1, x_concept_2, y_concept_1, y_concept_2,
|
37 |
-
|
38 |
-
|
39 |
img2img_type = None, img = None,
|
40 |
controlnet_scale= None, ip_adapter_scale=None,
|
41 |
|
|
|
31 |
# t5_slider_controlnet = T5SliderFlux(sd_pipe=pipe_controlnet,device=torch.device("cuda"))
|
32 |
|
33 |
|
34 |
+
@spaces.GPU(duration=200)
|
35 |
def generate(slider_x, slider_y, prompt, seed, iterations, steps, guidance_scale,
|
36 |
x_concept_1, x_concept_2, y_concept_1, y_concept_2,
|
37 |
+
avg_diff_x,
|
38 |
+
avg_diff_y,correlation,
|
39 |
img2img_type = None, img = None,
|
40 |
controlnet_scale= None, ip_adapter_scale=None,
|
41 |
|