Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -515,6 +515,15 @@ with gr.Blocks(theme='Hev832/Applio', css=css, fill_width=True, fill_height=True
|
|
| 515 |
interactive=True,
|
| 516 |
info="Allows you to use your own image for generation, otherwise a generic QR Code is created automatically as the base image"
|
| 517 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 518 |
invert_init_image_button = gr.Button("Invert Init Image", size="sm", visible=False)
|
| 519 |
|
| 520 |
with gr.Tab("Advanced Settings"):
|
|
|
|
| 515 |
interactive=True,
|
| 516 |
info="Allows you to use your own image for generation, otherwise a generic QR Code is created automatically as the base image"
|
| 517 |
)
|
| 518 |
+
reference_image_strength = gr.Slider(
|
| 519 |
+
minimum=0.0,
|
| 520 |
+
maximum=5.0,
|
| 521 |
+
step=0.05,
|
| 522 |
+
value=0.6,
|
| 523 |
+
label="Reference Image Influence",
|
| 524 |
+
info="Controls how much the reference image influences the final result (0 = ignore, 5 = copy exactly)",
|
| 525 |
+
visible=True # We'll make this visible when a reference image is uploaded
|
| 526 |
+
)
|
| 527 |
invert_init_image_button = gr.Button("Invert Init Image", size="sm", visible=False)
|
| 528 |
|
| 529 |
with gr.Tab("Advanced Settings"):
|