linoyts HF Staff commited on
Commit
56d79f6
·
verified ·
1 Parent(s): aab5843

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -18
app.py CHANGED
@@ -144,24 +144,24 @@ with gr.Blocks(css=css, theme=gr.themes.Soft(primary_hue="violet")) as demo:
144
  tab_inspire.select(lambda: ("inspire", gr.update(value=True)), outputs=[current_mode, randomize_seed])
145
 
146
 
147
- submit_btn.click(
148
- fn=infer,
149
- inputs=[
150
- prompt_generate,
151
- prompt_refine,
152
- prompt_inspire_image,
153
- prompt_in_json,
154
- negative_prompt,
155
- seed,
156
- randomize_seed,
157
- width,
158
- height,
159
- guidance_scale,
160
- num_inference_steps,
161
- current_mode,
162
- ],
163
- outputs=[result, seed, prompt_in_json, negative_prompt_json, structured_accordion],
164
- )
165
 
166
  demo.queue().launch()
167
 
 
144
  tab_inspire.select(lambda: ("inspire", gr.update(value=True)), outputs=[current_mode, randomize_seed])
145
 
146
 
147
+ submit_btn.click(
148
+ fn=infer,
149
+ inputs=[
150
+ prompt_generate,
151
+ prompt_refine,
152
+ prompt_inspire_image,
153
+ prompt_in_json,
154
+ negative_prompt,
155
+ seed,
156
+ randomize_seed,
157
+ width,
158
+ height,
159
+ guidance_scale,
160
+ num_inference_steps,
161
+ current_mode,
162
+ ],
163
+ outputs=[result, seed, prompt_in_json, negative_prompt_json, structured_accordion],
164
+ )
165
 
166
  demo.queue().launch()
167