multimodalart HF staff commited on
Commit
e34abbe
1 Parent(s): 1aa849a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -133,7 +133,7 @@ with gr.Blocks(css=css) as demo:
133
  inputs = [prompt]
134
  )
135
  gr.on(
136
- trigger=[run_button.click, prompt.submit],
137
  fn = infer,
138
  inputs = [prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps],
139
  outputs = [result, seed]
 
133
  inputs = [prompt]
134
  )
135
  gr.on(
136
+ triggers=[run_button.click, prompt.submit],
137
  fn = infer,
138
  inputs = [prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps],
139
  outputs = [result, seed]