sanjeevbora commited on
Commit
592294f
·
verified ·
1 Parent(s): 00d5f92

@spaces.GPU(duration=60)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ pipe = pipe.to(device)
24
  MAX_SEED = np.iinfo(np.int32).max
25
  MAX_IMAGE_SIZE = 1024
26
 
27
- #@spaces.GPU #[uncomment to use ZeroGPU]
28
  def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
29
 
30
  if randomize_seed:
 
24
  MAX_SEED = np.iinfo(np.int32).max
25
  MAX_IMAGE_SIZE = 1024
26
 
27
+ @spaces.GPU(duration=60)
28
  def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
29
 
30
  if randomize_seed: