doevent commited on
Commit
60cf9eb
·
verified ·
1 Parent(s): f8fac68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def infer(input_image, prompt, seed=42, randomize_seed=False, guidance_scale=2.5
89
  print(f"Time Elapsed: {td(seconds=int(time.time() - start_load))}")
90
  return image, seed, gr.Button(visible=True)
91
 
92
- @spaces.GPU(duration=21)
93
  def infer_example(input_image, prompt):
94
  start_load = time.time()
95
  image, seed, _ = infer(input_image, prompt)
 
89
  print(f"Time Elapsed: {td(seconds=int(time.time() - start_load))}")
90
  return image, seed, gr.Button(visible=True)
91
 
92
+ @spaces.GPU(duration=26)
93
  def infer_example(input_image, prompt):
94
  start_load = time.time()
95
  image, seed, _ = infer(input_image, prompt)