Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
3ff5e41
1
Parent(s):
b66cade
Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ div#share-btn-container > div {flex-direction: row;background: black;align-items
|
|
89 |
original_pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16)
|
90 |
|
91 |
@spaces.GPU
|
92 |
-
def merge_and_run(prompt, negative_prompt, shuffled_items, lora_1_scale=0.5, lora_2_scale=0.5, seed=-1
|
93 |
print("Run this?")
|
94 |
repo_id_1 = shuffled_items[0]['repo']
|
95 |
repo_id_2 = shuffled_items[1]['repo']
|
|
|
89 |
original_pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16)
|
90 |
|
91 |
@spaces.GPU
|
92 |
+
def merge_and_run(prompt, negative_prompt, shuffled_items, lora_1_scale=0.5, lora_2_scale=0.5, seed=-1):
|
93 |
print("Run this?")
|
94 |
repo_id_1 = shuffled_items[0]['repo']
|
95 |
repo_id_2 = shuffled_items[1]['repo']
|