John6666 commited on
Commit
09325c7
·
verified ·
1 Parent(s): b6a0b2d

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -209,6 +209,8 @@ def run_lora(prompt, cfg_scale, steps, selected_index, randomize_seed, seed, wid
209
  pipe.unload_lora_weights()
210
  except Exception as e:
211
  print(e)
 
 
212
 
213
  prompt_mash = prompt
214
  if is_valid_lora(lora_json):
 
209
  pipe.unload_lora_weights()
210
  except Exception as e:
211
  print(e)
212
+
213
+ clear_cache()
214
 
215
  prompt_mash = prompt
216
  if is_valid_lora(lora_json):