Spaces:
Running
on
Zero
Running
on
Zero
fallenshock
commited on
Commit
•
8d55c6b
1
Parent(s):
e37d858
Update app.py
Browse files
app.py
CHANGED
@@ -275,8 +275,8 @@ with gr.Blocks() as demo:
|
|
275 |
gr.Examples(
|
276 |
label="Examples",
|
277 |
examples=get_examples(),
|
278 |
-
inputs=[image_src, model_type, T_steps, src_guidance_scale, tar_guidance_scale, n_max, src_prompt, tar_prompt, n_min, n_avg, seed, image_tar],
|
279 |
-
outputs=[image_tar],
|
280 |
)
|
281 |
|
282 |
model_type.input(fn=on_model_change, inputs=[model_type], outputs=[T_steps, src_guidance_scale, tar_guidance_scale, n_max])
|
|
|
275 |
gr.Examples(
|
276 |
label="Examples",
|
277 |
examples=get_examples(),
|
278 |
+
inputs=[image_src, model_type, T_steps, src_guidance_scale, tar_guidance_scale, n_max, src_prompt, tar_prompt, n_min, n_avg, seed, image_tar[0]],
|
279 |
+
outputs=[image_tar[0]],
|
280 |
)
|
281 |
|
282 |
model_type.input(fn=on_model_change, inputs=[model_type], outputs=[T_steps, src_guidance_scale, tar_guidance_scale, n_max])
|