Spaces:
Running
Running
Update app.py
Browse files
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
|
| 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 |
|