John6666 commited on
Commit
69c65eb
·
verified ·
1 Parent(s): 9e43cb4

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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