Keltezaa commited on
Commit
d62bfe2
·
verified ·
1 Parent(s): 11638f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -611,11 +611,11 @@ with gr.Blocks(css=css, delete_cache=(60, 60)) as app:
611
  fn=run_lora,
612
  inputs=[prompt, cfg_scale, steps, selected_indices, lora_scale_1, lora_scale_2, randomize_seed, seed, width, height, loras_state],
613
  outputs=[result, seed, progress_bar]
614
- ).then(
615
- fn=lambda x, history: update_history(x, history),
616
- inputs=[result, history_gallery],
617
- outputs=history_gallery,
618
- )
619
 
620
  app.queue()
621
  app.launch()
 
611
  fn=run_lora,
612
  inputs=[prompt, cfg_scale, steps, selected_indices, lora_scale_1, lora_scale_2, randomize_seed, seed, width, height, loras_state],
613
  outputs=[result, seed, progress_bar]
614
+ )#.then(
615
+ # fn=lambda x, history: update_history(x, history),
616
+ # inputs=[result, history_gallery],
617
+ # outputs=history_gallery,
618
+ #)
619
 
620
  app.queue()
621
  app.launch()