PKUWilliamYang commited on
Commit
8cc8590
1 Parent(s): dd00d65

Update app.py

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