linoyts HF staff commited on
Commit
7b28dab
β€’
1 Parent(s): daca49f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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=120)
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_1, avg_diff_x_2,
38
- avg_diff_y_1, avg_diff_y_2,correlation,
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