Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -82,14 +82,13 @@ with gr.Blocks(title="UrangDiffusion 1.0 Demo", theme="NoCrypt/[email protected]") as d
|
|
82 |
|
83 |
with gr.Column():
|
84 |
output_image = gr.Image(type="pil", label="Generated Image")
|
85 |
-
output_seed = gr.Number(label="Seed", interactive=False)
|
86 |
|
87 |
generate_button.click(
|
88 |
interface_fn,
|
89 |
inputs=[
|
90 |
prompt_input, negative_prompt_input, use_defaults_input, width_input, height_input, guidance_scale_input, num_inference_steps_input, seed_input, randomize_seed_input
|
91 |
],
|
92 |
-
outputs=[output_image,
|
93 |
)
|
94 |
|
95 |
reset_button.click(
|
|
|
82 |
|
83 |
with gr.Column():
|
84 |
output_image = gr.Image(type="pil", label="Generated Image")
|
|
|
85 |
|
86 |
generate_button.click(
|
87 |
interface_fn,
|
88 |
inputs=[
|
89 |
prompt_input, negative_prompt_input, use_defaults_input, width_input, height_input, guidance_scale_input, num_inference_steps_input, seed_input, randomize_seed_input
|
90 |
],
|
91 |
+
outputs=[output_image, seed_input]
|
92 |
)
|
93 |
|
94 |
reset_button.click(
|