cwhuh commited on
Commit
c23e991
·
1 Parent(s): 3f3c52b

chore : change duration

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ MAX_IMAGE_SIZE = 2048
36
 
37
  pipe.flux_pipe_call_that_returns_an_iterable_of_images = flux_pipe_call_that_returns_an_iterable_of_images.__get__(pipe)
38
 
39
- @spaces.GPU(duration=75)
40
  def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, guidance_scale=3.5, num_inference_steps=28, progress=gr.Progress(track_tqdm=True)):
41
  if randomize_seed:
42
  seed = random.randint(0, MAX_SEED)
 
36
 
37
  pipe.flux_pipe_call_that_returns_an_iterable_of_images = flux_pipe_call_that_returns_an_iterable_of_images.__get__(pipe)
38
 
39
+ @spaces.GPU(duration=50)
40
  def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, guidance_scale=3.5, num_inference_steps=28, progress=gr.Progress(track_tqdm=True)):
41
  if randomize_seed:
42
  seed = random.randint(0, MAX_SEED)