svjack commited on
Commit
154dd91
1 Parent(s): bb028a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -255,10 +255,10 @@ with gr.Blocks(css=css) as demo:
255
  )
256
  exp_refresh = gr.Button(value="Click Refresh to get newly prompt examples")
257
  exp_refresh.click(get_samples, None, exps)
 
258
  '''
259
 
260
  text_button.click(generate_txt2img, inputs=[current_model, text_prompt, negative_prompt, image_style], outputs=image_output)
261
- exps.select(lambda x: x[0], exps, text_prompt)
262
  demo.load(get_params, None, [current_model, exps])
263
 
264
  demo.launch(show_api=False)
 
255
  )
256
  exp_refresh = gr.Button(value="Click Refresh to get newly prompt examples")
257
  exp_refresh.click(get_samples, None, exps)
258
+ exps.select(lambda x: x[0], exps, text_prompt)
259
  '''
260
 
261
  text_button.click(generate_txt2img, inputs=[current_model, text_prompt, negative_prompt, image_style], outputs=image_output)
 
262
  demo.load(get_params, None, [current_model, exps])
263
 
264
  demo.launch(show_api=False)