Update app.py
Browse files
app.py
CHANGED
|
@@ -326,19 +326,19 @@ with gr.Blocks(css="style.css", js=js_func) as demo:
|
|
| 326 |
image_slider = ImageSlider(position=0.5)
|
| 327 |
|
| 328 |
|
| 329 |
-
inputs = [
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
]
|
| 342 |
|
| 343 |
outputs = [image_slider]
|
| 344 |
run_button.click(
|
|
|
|
| 326 |
image_slider = ImageSlider(position=0.5)
|
| 327 |
|
| 328 |
|
| 329 |
+
inputs = [
|
| 330 |
+
image,
|
| 331 |
+
prompt,
|
| 332 |
+
negative_prompt,
|
| 333 |
+
model_choice,
|
| 334 |
+
style, # Replace 'style_name' with 'style'
|
| 335 |
+
num_steps,
|
| 336 |
+
guidance_scale,
|
| 337 |
+
controlnet_conditioning_scale,
|
| 338 |
+
seed,
|
| 339 |
+
use_hed,
|
| 340 |
+
use_canny
|
| 341 |
+
]
|
| 342 |
|
| 343 |
outputs = [image_slider]
|
| 344 |
run_button.click(
|