lixiang46 commited on
Commit
51eaf53
β€’
1 Parent(s): 4ebc982
app.py CHANGED
@@ -50,7 +50,7 @@ def infer(prompt,
50
  result = pipe(
51
  prompt = prompt,
52
  image = image,
53
- mask_image = mask_image,
54
  height=height,
55
  width=width,
56
  guidance_scale = guidance_scale,
 
50
  result = pipe(
51
  prompt = prompt,
52
  image = image,
53
+ # mask_image = mask_image,
54
  height=height,
55
  width=width,
56
  guidance_scale = guidance_scale,
assets/title.md CHANGED
@@ -1,7 +1,6 @@
1
  <div style="display: flex; justify-content: center; align-items: center; text-align: center;">
2
  <div>
3
- <h1>Kolors</h1>
4
- <span>Effective Training of Diffusion Model for Photorealistic Text-to-Image Synthesis</span>
5
  <br>
6
  <div style="display: flex; justify-content: center; align-items: center; text-align: center;">
7
  <a href="https://github.com/Kwai-Kolors/Kolors"><img src="https://img.shields.io/static/v1?label=Kolors Code&message=Github&color=blue&logo=github-pages"></a> &ensp;
 
1
  <div style="display: flex; justify-content: center; align-items: center; text-align: center;">
2
  <div>
3
+ <h1>Kolors-Inpainting</h1>
 
4
  <br>
5
  <div style="display: flex; justify-content: center; align-items: center; text-align: center;">
6
  <a href="https://github.com/Kwai-Kolors/Kolors"><img src="https://img.shields.io/static/v1?label=Kolors Code&message=Github&color=blue&logo=github-pages"></a> &ensp;
kolors/pipelines/pipeline_stable_diffusion_xl_chatglm_256_inpainting.py CHANGED
@@ -59,7 +59,7 @@ from diffusers.pipelines.stable_diffusion_xl.pipeline_output import StableDiffus
59
 
60
 
61
  if is_invisible_watermark_available():
62
- from .watermark import StableDiffusionXLWatermarker
63
 
64
  if is_torch_xla_available():
65
  import torch_xla.core.xla_model as xm
 
59
 
60
 
61
  if is_invisible_watermark_available():
62
+ from diffusers.pipelines.stable_diffusion_xl.watermark import StableDiffusionXLWatermarker
63
 
64
  if is_torch_xla_available():
65
  import torch_xla.core.xla_model as xm