lixiang46 commited on
Commit
40a8669
1 Parent(s): 7531872
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -69,9 +69,9 @@ examples = [
69
  ["This is a mouth-watering hot pot scene, with all kinds of delicious ingredients cooking in the boiling pot, emitting intoxicating heat and aroma. The fiery red peppers and bright chili oil are shining, with attractive and fascinating colors. The delicate thin-cut beef, refreshing tofu skin, enoki mushrooms with rich abalone sauce, and crisp vegetables in the pot are combined together to create a colorful visual presentation",
70
  "image/2.png", "image/2_masked.png"],
71
  ["穿着美少女战士的衣服,一件类似于水手服风格的衣服,包括一个白色紧身上衣,前胸搭配一个大大的红色蝴蝶结。衣服的领子部分呈蓝色,并且有白色条纹。她还穿着一条蓝色百褶裙,超高清,辛烷渲染,高级质感,32k,高分辨率,最好的质量,超级细节,景深",
72
- "image/3.png", "image/3_masked.png"],
73
  ["Wearing Iron Man's clothes, high-tech armor, the main colors are red and gold, and there are some silverdecorations. There is a light-up round reactor device on the chest, full of futuristic technology. Ultra-clear , high-quality, ultra-realistic, high-resolution, best quality, super details, depth of field",
74
- "image/4.png", "image/4_masked.png"],
75
  ]
76
 
77
  css="""
@@ -102,7 +102,7 @@ with gr.Blocks(css=css) as Kolors:
102
  )
103
  with gr.Row():
104
  image = gr.ImageEditor(label='Image', type='pil', image_mode='RGB', layers=False, brush=gr.Brush(colors=["#AAAAAA"], color_mode="fixed"))
105
- mask_image = gr.Image(label='Mask_Image',type='pil', visible=False, value=None)
106
  with gr.Accordion("Advanced Settings", open=False):
107
  negative_prompt = gr.Textbox(
108
  label="Negative prompt",
 
69
  ["This is a mouth-watering hot pot scene, with all kinds of delicious ingredients cooking in the boiling pot, emitting intoxicating heat and aroma. The fiery red peppers and bright chili oil are shining, with attractive and fascinating colors. The delicate thin-cut beef, refreshing tofu skin, enoki mushrooms with rich abalone sauce, and crisp vegetables in the pot are combined together to create a colorful visual presentation",
70
  "image/2.png", "image/2_masked.png"],
71
  ["穿着美少女战士的衣服,一件类似于水手服风格的衣服,包括一个白色紧身上衣,前胸搭配一个大大的红色蝴蝶结。衣服的领子部分呈蓝色,并且有白色条纹。她还穿着一条蓝色百褶裙,超高清,辛烷渲染,高级质感,32k,高分辨率,最好的质量,超级细节,景深",
72
+ "image/3.png", "image/3_mask.png"],
73
  ["Wearing Iron Man's clothes, high-tech armor, the main colors are red and gold, and there are some silverdecorations. There is a light-up round reactor device on the chest, full of futuristic technology. Ultra-clear , high-quality, ultra-realistic, high-resolution, best quality, super details, depth of field",
74
+ "image/4.png", "image/4_mask.png"],
75
  ]
76
 
77
  css="""
 
102
  )
103
  with gr.Row():
104
  image = gr.ImageEditor(label='Image', type='pil', image_mode='RGB', layers=False, brush=gr.Brush(colors=["#AAAAAA"], color_mode="fixed"))
105
+ mask_image = gr.Image(label='Masked_Image_Example',type='pil', visible=False, value=None)
106
  with gr.Accordion("Advanced Settings", open=False):
107
  negative_prompt = gr.Textbox(
108
  label="Negative prompt",