Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
86d44dc
1
Parent(s):
6bae58f
fix name
Browse files
app.py
CHANGED
|
@@ -132,7 +132,7 @@ with gr.Blocks(delete_cache=(3600, 3600)) as demo:
|
|
| 132 |
- Stylized Portrait Generation: Upload the style reference image and ID reference image, and click "Generation" to generate the artistic portrait directly.
|
| 133 |
- Text-guided Stylization Generation: Set ID Scale to 0, modify prompt, and then try text-guided stylized image generation through **Art-Adapter**. **(Note that ID image cannot be empty in the current version.)**
|
| 134 |
|
| 135 |
-
_If the style similarity is low, try increasing the
|
| 136 |
|
| 137 |
## News
|
| 138 |
|
|
@@ -165,8 +165,8 @@ with gr.Blocks(delete_cache=(3600, 3600)) as demo:
|
|
| 165 |
controlnet_scale = gr.Number(
|
| 166 |
label="ControlNet Scale", value=0.9, step=0.1
|
| 167 |
)
|
| 168 |
-
|
| 169 |
-
label="
|
| 170 |
)
|
| 171 |
guidance_scale = gr.Number(label="CFG Scale", value=7.0, step=0.1)
|
| 172 |
with gr.Row():
|
|
@@ -214,7 +214,7 @@ with gr.Blocks(delete_cache=(3600, 3600)) as demo:
|
|
| 214 |
seed,
|
| 215 |
height,
|
| 216 |
width,
|
| 217 |
-
|
| 218 |
],
|
| 219 |
outputs=[output],
|
| 220 |
api_name="artistic_portrait_gen",
|
|
|
|
| 132 |
- Stylized Portrait Generation: Upload the style reference image and ID reference image, and click "Generation" to generate the artistic portrait directly.
|
| 133 |
- Text-guided Stylization Generation: Set ID Scale to 0, modify prompt, and then try text-guided stylized image generation through **Art-Adapter**. **(Note that ID image cannot be empty in the current version.)**
|
| 134 |
|
| 135 |
+
_If the style similarity is low, try increasing the Stylize Contorlnet Scale, or set the Controlnet Scale to 0._
|
| 136 |
|
| 137 |
## News
|
| 138 |
|
|
|
|
| 165 |
controlnet_scale = gr.Number(
|
| 166 |
label="ControlNet Scale", value=0.9, step=0.1
|
| 167 |
)
|
| 168 |
+
stylize_contorlnet_scale = gr.Number(
|
| 169 |
+
label="Stylize ControlNet Scale", value=0.0, step=0.1
|
| 170 |
)
|
| 171 |
guidance_scale = gr.Number(label="CFG Scale", value=7.0, step=0.1)
|
| 172 |
with gr.Row():
|
|
|
|
| 214 |
seed,
|
| 215 |
height,
|
| 216 |
width,
|
| 217 |
+
stylize_contorlnet_scale,
|
| 218 |
],
|
| 219 |
outputs=[output],
|
| 220 |
api_name="artistic_portrait_gen",
|