Spaces:
Runtime error
Runtime error
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(
|
49 |
def fill_image(prompt, image, model_selection, paste_back):
|
50 |
(
|
51 |
prompt_embeds,
|
@@ -87,9 +87,10 @@ def clear_result():
|
|
87 |
return gr.update(value=None)
|
88 |
|
89 |
|
90 |
-
title = """<h1 align="center">
|
91 |
<div align="center">Draw the mask over the subject you want to erase or change and write what you want to inpaint it with.</div>
|
92 |
-
<div align="center">
|
|
|
93 |
"""
|
94 |
|
95 |
with gr.Blocks() as demo:
|
|
|
45 |
pipe.scheduler = TCDScheduler.from_config(pipe.scheduler.config)
|
46 |
|
47 |
|
48 |
+
@spaces.GPU(enable_queue=True)
|
49 |
def fill_image(prompt, image, model_selection, paste_back):
|
50 |
(
|
51 |
prompt_embeds,
|
|
|
87 |
return gr.update(value=None)
|
88 |
|
89 |
|
90 |
+
title = """<h1 align="center">NUDIFIER APP /h1>
|
91 |
<div align="center">Draw the mask over the subject you want to erase or change and write what you want to inpaint it with.</div>
|
92 |
+
<div align="center">It will start after a few seconds just sit back and see magic happends ....</div>
|
93 |
+
|
94 |
"""
|
95 |
|
96 |
with gr.Blocks() as demo:
|