Update app.py
Browse files
app.py
CHANGED
|
@@ -241,7 +241,7 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
| 241 |
container=False,
|
| 242 |
)
|
| 243 |
text_strength = gr.Slider(
|
| 244 |
-
label="Text
|
| 245 |
minimum=0.0,
|
| 246 |
maximum=16.0,
|
| 247 |
step=0.01,
|
|
@@ -253,7 +253,7 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
| 253 |
with gr.Row():
|
| 254 |
latent_file = gr.File(label="Image Prompt (Required)")
|
| 255 |
file_1_strength = gr.Slider(
|
| 256 |
-
label="Img 1
|
| 257 |
minimum=0.0,
|
| 258 |
maximum=16.0,
|
| 259 |
step=0.01,
|
|
@@ -261,7 +261,7 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
| 261 |
)
|
| 262 |
latent_file_2 = gr.File(label="Image Prompt 2 (Optional)")
|
| 263 |
file_2_strength = gr.Slider(
|
| 264 |
-
label="Img 2
|
| 265 |
minimum=0.0,
|
| 266 |
maximum=16.0,
|
| 267 |
step=0.01,
|
|
@@ -269,7 +269,7 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
| 269 |
)
|
| 270 |
latent_file_3 = gr.File(label="Image Prompt 3 (Optional)")
|
| 271 |
file_3_strength = gr.Slider(
|
| 272 |
-
label="Img 3
|
| 273 |
minimum=0.0,
|
| 274 |
maximum=16.0,
|
| 275 |
step=0.01,
|
|
@@ -277,7 +277,7 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
| 277 |
)
|
| 278 |
latent_file_4 = gr.File(label="Image Prompt 4 (Optional)")
|
| 279 |
file_4_strength = gr.Slider(
|
| 280 |
-
label="Img 4
|
| 281 |
minimum=0.0,
|
| 282 |
maximum=16.0,
|
| 283 |
step=0.01,
|
|
@@ -285,7 +285,7 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
| 285 |
)
|
| 286 |
latent_file_5 = gr.File(label="Image Prompt 5 (Optional)")
|
| 287 |
file_5_strength = gr.Slider(
|
| 288 |
-
label="Img 5
|
| 289 |
minimum=0.0,
|
| 290 |
maximum=16.0,
|
| 291 |
step=0.01,
|
|
@@ -296,11 +296,11 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
| 296 |
label="CLIP Model",
|
| 297 |
)
|
| 298 |
ip_scale = gr.Slider(
|
| 299 |
-
label="Image
|
| 300 |
minimum=0.0,
|
| 301 |
maximum=2.0,
|
| 302 |
step=0.01,
|
| 303 |
-
value=0
|
| 304 |
)
|
| 305 |
negative_prompt_1 = gr.Text(
|
| 306 |
label="Negative prompt 1",
|
|
|
|
| 241 |
container=False,
|
| 242 |
)
|
| 243 |
text_strength = gr.Slider(
|
| 244 |
+
label="Text Scale",
|
| 245 |
minimum=0.0,
|
| 246 |
maximum=16.0,
|
| 247 |
step=0.01,
|
|
|
|
| 253 |
with gr.Row():
|
| 254 |
latent_file = gr.File(label="Image Prompt (Required)")
|
| 255 |
file_1_strength = gr.Slider(
|
| 256 |
+
label="Img 1 Scale",
|
| 257 |
minimum=0.0,
|
| 258 |
maximum=16.0,
|
| 259 |
step=0.01,
|
|
|
|
| 261 |
)
|
| 262 |
latent_file_2 = gr.File(label="Image Prompt 2 (Optional)")
|
| 263 |
file_2_strength = gr.Slider(
|
| 264 |
+
label="Img 2 Scale",
|
| 265 |
minimum=0.0,
|
| 266 |
maximum=16.0,
|
| 267 |
step=0.01,
|
|
|
|
| 269 |
)
|
| 270 |
latent_file_3 = gr.File(label="Image Prompt 3 (Optional)")
|
| 271 |
file_3_strength = gr.Slider(
|
| 272 |
+
label="Img 3 Scale",
|
| 273 |
minimum=0.0,
|
| 274 |
maximum=16.0,
|
| 275 |
step=0.01,
|
|
|
|
| 277 |
)
|
| 278 |
latent_file_4 = gr.File(label="Image Prompt 4 (Optional)")
|
| 279 |
file_4_strength = gr.Slider(
|
| 280 |
+
label="Img 4 Scale",
|
| 281 |
minimum=0.0,
|
| 282 |
maximum=16.0,
|
| 283 |
step=0.01,
|
|
|
|
| 285 |
)
|
| 286 |
latent_file_5 = gr.File(label="Image Prompt 5 (Optional)")
|
| 287 |
file_5_strength = gr.Slider(
|
| 288 |
+
label="Img 5 Scale",
|
| 289 |
minimum=0.0,
|
| 290 |
maximum=16.0,
|
| 291 |
step=0.01,
|
|
|
|
| 296 |
label="CLIP Model",
|
| 297 |
)
|
| 298 |
ip_scale = gr.Slider(
|
| 299 |
+
label="Overall Image Scale",
|
| 300 |
minimum=0.0,
|
| 301 |
maximum=2.0,
|
| 302 |
step=0.01,
|
| 303 |
+
value=1.0,
|
| 304 |
)
|
| 305 |
negative_prompt_1 = gr.Text(
|
| 306 |
label="Negative prompt 1",
|