ysharma HF staff commited on
Commit
c03ec2b
1 Parent(s): d83288b

update example

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ with gr.Blocks() as demo:
78
  in_alpha = gr.Slider(0.1,1.0, step=0.01, label="Set Alpha level", value=0.5)
79
  out_file = gr.File(label="Lora trained model weights", )
80
 
81
- b1.click(fn = accelerate_train_lora, inputs=in_steps, outputs=out_file)
82
  b2.click(fn = monkeypatching, inputs=[in_alpha, in_prompt], outputs=out_image)
83
 
84
  demo.queue(concurrency_count=3)
 
78
  in_alpha = gr.Slider(0.1,1.0, step=0.01, label="Set Alpha level", value=0.5)
79
  out_file = gr.File(label="Lora trained model weights", )
80
 
81
+ b1.click(fn = accelerate_train_lora, inputs=in_steps, outputs=out_file)
82
  b2.click(fn = monkeypatching, inputs=[in_alpha, in_prompt], outputs=out_image)
83
 
84
  demo.queue(concurrency_count=3)