Zaiiida commited on
Commit
334697f
·
verified ·
1 Parent(s): 12fbd5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -15
app.py CHANGED
@@ -141,21 +141,6 @@ with gr.Blocks(theme=CustomTheme(), css=css) as demo:
141
  result = gr.Image(label="Result", show_label=False)
142
 
143
 
144
- # Use click method for the button and submit for the text field
145
- run_button.click(
146
- fn=infer,
147
- inputs=[
148
- prompt,
149
- negative_prompt,
150
- seed,
151
- randomize_seed,
152
- width,
153
- height,
154
- guidance_scale,
155
- num_inference_steps,
156
- ],
157
- outputs=[result, seed],
158
- )
159
  prompt.submit(
160
  fn=infer,
161
  inputs=[
 
141
  result = gr.Image(label="Result", show_label=False)
142
 
143
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  prompt.submit(
145
  fn=infer,
146
  inputs=[