Spaces:
Runtime error
Runtime error
Update app.py
#5
by
Manoval
- opened
app.py
CHANGED
@@ -253,7 +253,7 @@ with gr.Blocks(css=css) as demo:
|
|
253 |
# n_images.change(lambda n: gr.Gallery().style(grid=[2 if n > 1 else 1], height="auto"), inputs=n_images, outputs=gallery)
|
254 |
|
255 |
inputs = [model_name, prompt, guidance, steps, width, height, seed, image, strength, neg_prompt]
|
256 |
-
outputs = [image_out
|
257 |
prompt.submit(inference, inputs=inputs, outputs=outputs)
|
258 |
generate.click(inference, inputs=inputs, outputs=outputs)
|
259 |
|
|
|
253 |
# n_images.change(lambda n: gr.Gallery().style(grid=[2 if n > 1 else 1], height="auto"), inputs=n_images, outputs=gallery)
|
254 |
|
255 |
inputs = [model_name, prompt, guidance, steps, width, height, seed, image, strength, neg_prompt]
|
256 |
+
outputs = [image_out]
|
257 |
prompt.submit(inference, inputs=inputs, outputs=outputs)
|
258 |
generate.click(inference, inputs=inputs, outputs=outputs)
|
259 |
|