OzzyGT HF staff commited on
Commit
1981120
1 Parent(s): 3a4cca7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,7 +45,7 @@ pipe = StableDiffusionXLFillPipeline.from_pretrained(
45
  pipe.scheduler = TCDScheduler.from_config(pipe.scheduler.config)
46
 
47
 
48
- @spaces.GPU(duration=16)
49
  def fill_image(prompt, image, model_selection, paste_back):
50
  (
51
  prompt_embeds,
@@ -171,4 +171,4 @@ with gr.Blocks() as demo:
171
  )
172
 
173
 
174
- demo.launch(share=False)
 
45
  pipe.scheduler = TCDScheduler.from_config(pipe.scheduler.config)
46
 
47
 
48
+ @spaces.GPU(duration=24)
49
  def fill_image(prompt, image, model_selection, paste_back):
50
  (
51
  prompt_embeds,
 
171
  )
172
 
173
 
174
+ demo.queue(max_size=12).launch(share=False)