Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def diffusion_image(image,text,strength,guidance_scale,choice):
|
|
69 |
img = pipe(image=init_image, mask_image=mask_image, example_image=example_image).images[0]
|
70 |
return img
|
71 |
|
72 |
-
options = ["文本引导图片风格变化", "文本引导图像区域生成", "文图引导图像区域生成"
|
73 |
|
74 |
def select_option(choice):
|
75 |
return select_model(choice)
|
|
|
69 |
img = pipe(image=init_image, mask_image=mask_image, example_image=example_image).images[0]
|
70 |
return img
|
71 |
|
72 |
+
options = ["文本引导图片风格变化", "文本引导图像区域生成", "文图引导图像区域生成"] # 定义下拉选项
|
73 |
|
74 |
def select_option(choice):
|
75 |
return select_model(choice)
|