Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -309,7 +309,13 @@ title = r"""
|
|
309 |
<h1 align="center">InstantID-XS</h1>
|
310 |
"""
|
311 |
|
312 |
-
tips= r"
|
|
|
|
|
|
|
|
|
|
|
|
|
313 |
css = """
|
314 |
.gradio-container {width: 85% !important}
|
315 |
"""
|
@@ -342,14 +348,14 @@ with gr.Blocks(css=css) as demo:
|
|
342 |
|
343 |
# strength
|
344 |
controlnet_conditioning_scale = gr.Slider(
|
345 |
-
label="
|
346 |
minimum=0,
|
347 |
maximum=1.0,
|
348 |
step=0.1,
|
349 |
value=0.8,
|
350 |
)
|
351 |
adapter_strength_ratio = gr.Slider(
|
352 |
-
label="
|
353 |
minimum=0,
|
354 |
maximum=1.0,
|
355 |
step=0.1,
|
|
|
309 |
<h1 align="center">InstantID-XS</h1>
|
310 |
"""
|
311 |
|
312 |
+
tips = r"""
|
313 |
+
### Usage tips of InstantID-XS
|
314 |
+
1. If you're not satisfied with the similarity, try increasing the weight of "ControlNet strength" and "Adapter Strength."
|
315 |
+
2. If you feel that the similarity is not high, you can increase the adapter strength appropriately.
|
316 |
+
3. If you want to achieve a pose image as similar as possible, please increase the ControlNet strength appropriately.
|
317 |
+
4. If you find that realistic style is not good enough, go for our Github repo and use a more realistic base model.
|
318 |
+
"""
|
319 |
css = """
|
320 |
.gradio-container {width: 85% !important}
|
321 |
"""
|
|
|
348 |
|
349 |
# strength
|
350 |
controlnet_conditioning_scale = gr.Slider(
|
351 |
+
label="ControlNet strength (for pose)",
|
352 |
minimum=0,
|
353 |
maximum=1.0,
|
354 |
step=0.1,
|
355 |
value=0.8,
|
356 |
)
|
357 |
adapter_strength_ratio = gr.Slider(
|
358 |
+
label="Adapter strength (for fidelity)",
|
359 |
minimum=0,
|
360 |
maximum=1.0,
|
361 |
step=0.1,
|