Dagfinn1962 commited on
Commit
2d8d3bf
·
verified ·
1 Parent(s): 3a4cca7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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,
@@ -87,9 +87,10 @@ def clear_result():
87
  return gr.update(value=None)
88
 
89
 
90
- title = """<h1 align="center">Diffusers Fast Inpaint</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">This is a lighting model with almost no CFG and 12 steps, so don't expect high quality generations.</div>
 
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: