Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
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)
|