K00B404 commited on
Commit
3c00ab6
·
verified ·
1 Parent(s): cf9fd45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ def create_ui():
126
  output_image = gr.Image(label="Generated Image")
127
 
128
  # Link the button to the function
129
- generate_button.click(fn=generate_image, inputs=prompt_input, outputs=output_image)
130
 
131
  return ui
132
 
 
126
  output_image = gr.Image(label="Generated Image")
127
 
128
  # Link the button to the function
129
+ generate_button.click(fn=generate_image, inputs=[prompt_input, True], outputs=output_image)
130
 
131
  return ui
132