PKUWilliamYang commited on
Commit
cb17d44
1 Parent(s): fcaf96d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -241,7 +241,8 @@ class GlobalState:
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,
 
241
 
242
 
243
  @torch.no_grad()
244
+ #@spaces.GPU(duration=200)
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,