rphrp1985 commited on
Commit
04d8ef1
1 Parent(s): 0dfe83a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ pipeline = AutoPipelineForText2Image.from_pretrained(repo, torch_dtype=torch.flo
22
  MAX_SEED = np.iinfo(np.int32).max
23
  MAX_IMAGE_SIZE = 1344
24
 
25
- @spaces.GPU(duration=170)
26
  def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
27
 
28
  if randomize_seed:
 
22
  MAX_SEED = np.iinfo(np.int32).max
23
  MAX_IMAGE_SIZE = 1344
24
 
25
+ @spaces.GPU(duration=60)
26
  def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
27
 
28
  if randomize_seed: