Spaces:
Runtime error
Runtime error
correct argument.
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def infer_img_proc(
|
|
61 |
image_guidance_scale=img_cfg,
|
62 |
guidance_scale=text_cfg,
|
63 |
generator=torch.manual_seed(int(seed)),
|
64 |
-
)
|
65 |
return images
|
66 |
|
67 |
|
@@ -124,7 +124,7 @@ with gr.Blocks(theme="gradio/soft") as demo:
|
|
124 |
)
|
125 |
gr.Markdown("### Low-level image processing example")
|
126 |
gr.Examples(
|
127 |
-
[examples[
|
128 |
inputs=all_img_proc_inputs,
|
129 |
outputs=img_proc_output_gallery,
|
130 |
fn=infer_img_proc,
|
|
|
61 |
image_guidance_scale=img_cfg,
|
62 |
guidance_scale=text_cfg,
|
63 |
generator=torch.manual_seed(int(seed)),
|
64 |
+
).images
|
65 |
return images
|
66 |
|
67 |
|
|
|
124 |
)
|
125 |
gr.Markdown("### Low-level image processing example")
|
126 |
gr.Examples(
|
127 |
+
[examples[1]],
|
128 |
inputs=all_img_proc_inputs,
|
129 |
outputs=img_proc_output_gallery,
|
130 |
fn=infer_img_proc,
|