openfree commited on
Commit
dbf0ffd
·
verified ·
1 Parent(s): 534651e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -865,6 +865,7 @@ with gr.Tab(label="Generate"):
865
  remove_custom_lora_button = gr.Button("Remove Custom LoRA", visible=False)
866
  gr.Markdown("[Check the list of FLUX LoRAs](https://huggingface.co/models?other=base_model:adapter:black-forest-labs/FLUX.1-dev)", elem_id="lora_list")
867
 
 
868
  # Event Handlers
869
  gallery.select(
870
  update_selection,
@@ -882,7 +883,7 @@ with gr.Tab(label="Generate"):
882
  lora_image_1, lora_image_2, lora_image_3]
883
  )
884
 
885
- remove_button_2.click(
886
  remove_lora_2,
887
  inputs=[selected_indices, loras_state],
888
  outputs=[selected_info_1, selected_info_2, selected_info_3, selected_indices,
@@ -937,5 +938,4 @@ remove_button_2.click(
937
 
938
  if __name__ == "__main__":
939
  app.queue(max_size=20)
940
- app.launch(debug=True)
941
-
 
865
  remove_custom_lora_button = gr.Button("Remove Custom LoRA", visible=False)
866
  gr.Markdown("[Check the list of FLUX LoRAs](https://huggingface.co/models?other=base_model:adapter:black-forest-labs/FLUX.1-dev)", elem_id="lora_list")
867
 
868
+
869
  # Event Handlers
870
  gallery.select(
871
  update_selection,
 
883
  lora_image_1, lora_image_2, lora_image_3]
884
  )
885
 
886
+ remove_button_2.click(
887
  remove_lora_2,
888
  inputs=[selected_indices, loras_state],
889
  outputs=[selected_info_1, selected_info_2, selected_info_3, selected_indices,
 
938
 
939
  if __name__ == "__main__":
940
  app.queue(max_size=20)
941
+ app.launch(debug=True)