multimodalart HF staff commited on
Commit
9c05c8d
1 Parent(s): 8dad918

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -120,8 +120,8 @@ def remove_lora_1(selected_indices):
120
  if len(selected_indices) >= 1:
121
  selected_indices.pop(0)
122
  # Update selected_info_1 and selected_info_2
123
- selected_info_1 = ""
124
- selected_info_2 = ""
125
  lora_scale_1 = 0.95
126
  lora_scale_2 = 0.95
127
  lora_image_1 = None
@@ -141,8 +141,8 @@ def remove_lora_2(selected_indices):
141
  if len(selected_indices) >= 2:
142
  selected_indices.pop(1)
143
  # Update selected_info_1 and selected_info_2
144
- selected_info_1 = ""
145
- selected_info_2 = ""
146
  lora_scale_1 = 0.95
147
  lora_scale_2 = 0.95
148
  lora_image_1 = None
 
120
  if len(selected_indices) >= 1:
121
  selected_indices.pop(0)
122
  # Update selected_info_1 and selected_info_2
123
+ selected_info_1 = "Select a LoRA 1"
124
+ selected_info_2 = "Select a LoRA 2"
125
  lora_scale_1 = 0.95
126
  lora_scale_2 = 0.95
127
  lora_image_1 = None
 
141
  if len(selected_indices) >= 2:
142
  selected_indices.pop(1)
143
  # Update selected_info_1 and selected_info_2
144
+ selected_info_1 = "Select a LoRA 1"
145
+ selected_info_2 = "Select a LoRA 2"
146
  lora_scale_1 = 0.95
147
  lora_scale_2 = 0.95
148
  lora_image_1 = None