lixiang46
commited on
Commit
·
7132521
1
Parent(s):
9de30d4
change seed
Browse files
app.py
CHANGED
|
@@ -251,7 +251,7 @@ with gr.Blocks(css=css) as Kolors:
|
|
| 251 |
fn = infer_canny,
|
| 252 |
examples = canny_examples,
|
| 253 |
inputs = [prompt, image],
|
| 254 |
-
outputs = [result],
|
| 255 |
label = "Canny"
|
| 256 |
)
|
| 257 |
with gr.Row():
|
|
@@ -259,7 +259,7 @@ with gr.Blocks(css=css) as Kolors:
|
|
| 259 |
fn = infer_depth,
|
| 260 |
examples = depth_examples,
|
| 261 |
inputs = [prompt, image],
|
| 262 |
-
outputs = [result],
|
| 263 |
label = "Depth"
|
| 264 |
)
|
| 265 |
|
|
|
|
| 251 |
fn = infer_canny,
|
| 252 |
examples = canny_examples,
|
| 253 |
inputs = [prompt, image],
|
| 254 |
+
outputs = [result, seed_used],
|
| 255 |
label = "Canny"
|
| 256 |
)
|
| 257 |
with gr.Row():
|
|
|
|
| 259 |
fn = infer_depth,
|
| 260 |
examples = depth_examples,
|
| 261 |
inputs = [prompt, image],
|
| 262 |
+
outputs = [result, seed_used],
|
| 263 |
label = "Depth"
|
| 264 |
)
|
| 265 |
|