Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ pipe_adapter.scheduler = EulerDiscreteScheduler.from_config(pipe_adapter.schedul
|
|
20 |
clip_slider_ip = CLIPSliderXL(sd_pipe=pipe_adapter,
|
21 |
device=torch.device("cuda"))
|
22 |
|
23 |
-
@spaces.GPU
|
24 |
def generate(slider_x, slider_y, prompt, seed, iterations, steps,
|
25 |
x_concept_1, x_concept_2, y_concept_1, y_concept_2,
|
26 |
avg_diff_x_1, avg_diff_x_2,
|
|
|
20 |
clip_slider_ip = CLIPSliderXL(sd_pipe=pipe_adapter,
|
21 |
device=torch.device("cuda"))
|
22 |
|
23 |
+
@spaces.GPU(duration=120)
|
24 |
def generate(slider_x, slider_y, prompt, seed, iterations, steps,
|
25 |
x_concept_1, x_concept_2, y_concept_1, y_concept_2,
|
26 |
avg_diff_x_1, avg_diff_x_2,
|