linoyts HF staff commited on
Commit
1b59bc0
1 Parent(s): d5a8945

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ flash_pipe.scheduler = EulerDiscreteScheduler.from_config(flash_pipe.scheduler.c
10
  clip_slider = CLIPSliderXL(flash_pipe, device=torch.device("cuda"), iterations=50)
11
 
12
  @spaces.GPU
13
- def generate(slider_x, slider_y, prompt, x_concept_1, x_concept_2, y_concept_1, y_concept_2, , avg_diff_x, avg_diff_y):
14
 
15
  # check if avg diff for directions need to be re-calculated
16
  if not sorted(slider_x) == sorted([x_concept_1, x_concept_2]):
 
10
  clip_slider = CLIPSliderXL(flash_pipe, device=torch.device("cuda"), iterations=50)
11
 
12
  @spaces.GPU
13
+ def generate(slider_x, slider_y, prompt, x_concept_1, x_concept_2, y_concept_1, y_concept_2, avg_diff_x, avg_diff_y):
14
 
15
  # check if avg diff for directions need to be re-calculated
16
  if not sorted(slider_x) == sorted([x_concept_1, x_concept_2]):