kayfahaarukku commited on
Commit
77af4ac
·
verified ·
1 Parent(s): 24e5903

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -11,7 +11,7 @@ tqdm.monitor_interval = 0
11
 
12
  # Load the diffusion pipeline
13
  pipe = StableDiffusionXLPipeline.from_pretrained(
14
- "kayfahaarukku/UrangDiffusion-1.1",
15
  torch_dtype=torch.float16,
16
  custom_pipeline="lpw_stable_diffusion_xl",
17
  )
@@ -60,9 +60,9 @@ def interface_fn(prompt, negative_prompt, use_defaults, resolution, guidance_sca
60
  def reset_inputs():
61
  return gr.update(value=''), gr.update(value=''), gr.update(value=True), gr.update(value='832x1216'), gr.update(value=7), gr.update(value=28), gr.update(value=0), gr.update(value=True), gr.update(value='')
62
 
63
- with gr.Blocks(title="UrangDiffusion 1.1 Demo", theme="NoCrypt/[email protected]") as demo:
64
  gr.HTML(
65
- "<h1>UrangDiffusion 1.1 Demo</h1>"
66
  "This demo is intended to showcase what the model is capable of and is not intended to be the main generation platform. Results produced with Diffusers are not the best, and it's highly recommended for you to get the model running inside Stable Diffusion WebUI or ComfyUI."
67
  )
68
  with gr.Row():
 
11
 
12
  # Load the diffusion pipeline
13
  pipe = StableDiffusionXLPipeline.from_pretrained(
14
+ "kayfahaarukku/UrangDiffusion-1.2",
15
  torch_dtype=torch.float16,
16
  custom_pipeline="lpw_stable_diffusion_xl",
17
  )
 
60
  def reset_inputs():
61
  return gr.update(value=''), gr.update(value=''), gr.update(value=True), gr.update(value='832x1216'), gr.update(value=7), gr.update(value=28), gr.update(value=0), gr.update(value=True), gr.update(value='')
62
 
63
+ with gr.Blocks(title="UrangDiffusion 1.2 Demo", theme="NoCrypt/[email protected]") as demo:
64
  gr.HTML(
65
+ "<h1>UrangDiffusion 1.2 Demo</h1>"
66
  "This demo is intended to showcase what the model is capable of and is not intended to be the main generation platform. Results produced with Diffusers are not the best, and it's highly recommended for you to get the model running inside Stable Diffusion WebUI or ComfyUI."
67
  )
68
  with gr.Row():