Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -124,9 +124,11 @@ with gr.Blocks(css=css) as demo:
|
|
124 |
value=28,
|
125 |
)
|
126 |
|
|
|
|
|
127 |
run_button.click(#lambda x: None, inputs=None, outputs=result).then(
|
128 |
fn=infer,
|
129 |
-
inputs=[prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps],
|
130 |
outputs=[result]
|
131 |
)
|
132 |
|
|
|
124 |
value=28,
|
125 |
)
|
126 |
|
127 |
+
filename = gr.Textbox(value="", visible=False)
|
128 |
+
|
129 |
run_button.click(#lambda x: None, inputs=None, outputs=result).then(
|
130 |
fn=infer,
|
131 |
+
inputs=[prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, filename],
|
132 |
outputs=[result]
|
133 |
)
|
134 |
|