doevent commited on
Commit
15d4661
·
verified ·
1 Parent(s): a54044d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ MAX_SEED = np.iinfo(np.int32).max
35
  MAX_IMAGE_SIZE = 2048
36
 
37
 
38
- @spaces.GPU(duration=25)
39
  def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, guidance_scale=3.5, num_inference_steps=8, progress=gr.Progress(track_tqdm=True)):
40
  if randomize_seed:
41
  seed = random.randint(0, MAX_SEED)
 
35
  MAX_IMAGE_SIZE = 2048
36
 
37
 
38
+ @spaces.GPU(duration=21)
39
  def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, guidance_scale=3.5, num_inference_steps=8, progress=gr.Progress(track_tqdm=True)):
40
  if randomize_seed:
41
  seed = random.randint(0, MAX_SEED)