fffiloni commited on
Commit
8b3c823
·
verified ·
1 Parent(s): 8b95bc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def infer(image_path, prompt, orbit_type, progress=gr.Progress(track_tqdm=True))
85
  # Generate a timestamp for adapter_name
86
  adapter_timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
87
 
88
- pipe.load_lora_weights(lora_path, weight_name=weight_name, adapter_name=f"adapter_name_{adapter_timestamp}")
89
  pipe.fuse_lora(lora_scale=1 / lora_rank)
90
  pipe.to("cuda")
91
 
 
85
  # Generate a timestamp for adapter_name
86
  adapter_timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
87
 
88
+ pipe.load_lora_weights(lora_path, weight_name=weight_name)
89
  pipe.fuse_lora(lora_scale=1 / lora_rank)
90
  pipe.to("cuda")
91