rphrp1985 commited on
Commit
eeb5614
1 Parent(s): bc4e38f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ pipeline = AutoPipelineForText2Image.from_pretrained('dataautogpt3/OpenDalleV1.1
18
  MAX_SEED = np.iinfo(np.int32).max
19
  MAX_IMAGE_SIZE = 1344
20
 
21
- @spaces.GPU
22
  def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
23
 
24
  if randomize_seed:
 
18
  MAX_SEED = np.iinfo(np.int32).max
19
  MAX_IMAGE_SIZE = 1344
20
 
21
+ @spaces.GPU(duration=150)
22
  def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
23
 
24
  if randomize_seed: