Spaces:
Sleeping
Sleeping
PKUWilliamYang
commited on
Commit
•
81f2701
1
Parent(s):
e343295
Update app.py
Browse files
app.py
CHANGED
@@ -241,8 +241,7 @@ class GlobalState:
|
|
241 |
|
242 |
|
243 |
@torch.no_grad()
|
244 |
-
|
245 |
-
@spaces.GPU()
|
246 |
def process1(input_path, prompt, sd_model, seed, image_resolution, control_strength,
|
247 |
x0_strength, control_type, low_threshold, high_threshold,
|
248 |
ddpm_steps, scale, a_prompt, n_prompt,
|
|
|
241 |
|
242 |
|
243 |
@torch.no_grad()
|
244 |
+
@spaces.GPU(duration=200)
|
|
|
245 |
def process1(input_path, prompt, sd_model, seed, image_resolution, control_strength,
|
246 |
x0_strength, control_type, low_threshold, high_threshold,
|
247 |
ddpm_steps, scale, a_prompt, n_prompt,
|