Spaces:
Runtime error
Runtime error
Commit
·
4f3b0cb
1
Parent(s):
6caa0a5
lower weight flat
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ pipe = pipe.to(device)
|
|
| 41 |
pipe.load_lora_weights(flat_lora_path, weight_name=flat_weigths_file, adapter_name="flat")
|
| 42 |
pipe.load_lora_weights(canny_lora_path, weight_name=canny_weigths_file, adapter_name="canny")
|
| 43 |
|
| 44 |
-
pipe.set_adapters(["flat", "canny"], adapter_weights=[
|
| 45 |
|
| 46 |
MAX_SEED = np.iinfo(np.int32).max
|
| 47 |
MAX_IMAGE_SIZE = 1024
|
|
|
|
| 41 |
pipe.load_lora_weights(flat_lora_path, weight_name=flat_weigths_file, adapter_name="flat")
|
| 42 |
pipe.load_lora_weights(canny_lora_path, weight_name=canny_weigths_file, adapter_name="canny")
|
| 43 |
|
| 44 |
+
pipe.set_adapters(["flat", "canny"], adapter_weights=[0.8, 0.4])
|
| 45 |
|
| 46 |
MAX_SEED = np.iinfo(np.int32).max
|
| 47 |
MAX_IMAGE_SIZE = 1024
|