Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,8 @@ def run_lora(prompt, negative_prompt, cfg_scale, steps, scheduler, seed, width,
|
|
83 |
# trigger_word = selected_lora["trigger_word"]
|
84 |
|
85 |
# Load LoRA weights
|
86 |
-
pipe.load_lora_weights("Abdullah-Habib/
|
|
|
87 |
# pipe.load_lora_weights("Abdullah-Habib/icon-lora",scale = 0.5)
|
88 |
|
89 |
# Set scheduler
|
@@ -128,7 +129,7 @@ def run_lora(prompt, negative_prompt, cfg_scale, steps, scheduler, seed, width,
|
|
128 |
|
129 |
# Generate image
|
130 |
image = pipe(
|
131 |
-
prompt=f"{prompt}, rounded square,
|
132 |
negative_prompt=negative_prompt,
|
133 |
num_inference_steps=steps,
|
134 |
guidance_scale=cfg_scale,
|
|
|
83 |
# trigger_word = selected_lora["trigger_word"]
|
84 |
|
85 |
# Load LoRA weights
|
86 |
+
pipe.load_lora_weights("Abdullah-Habib/lora-logo-v1",scale = 1)
|
87 |
+
# pipe.load_lora_weights("Abdullah-Habib/logolora",scale = 1)
|
88 |
# pipe.load_lora_weights("Abdullah-Habib/icon-lora",scale = 0.5)
|
89 |
|
90 |
# Set scheduler
|
|
|
129 |
|
130 |
# Generate image
|
131 |
image = pipe(
|
132 |
+
prompt=f"{prompt}, rounded square, LogoRedAF, icon",
|
133 |
negative_prompt=negative_prompt,
|
134 |
num_inference_steps=steps,
|
135 |
guidance_scale=cfg_scale,
|