Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ def run_model(user_state, condition_image, settings, prompt, neg_prompt, inferen
|
|
88 |
|
89 |
progress(0, desc="Thinking...", total=int(inference_steps))
|
90 |
|
91 |
-
if enable_freeu:
|
92 |
pipe.enable_freeu(s1=0.6, s2=0.4, b1=1.1, b2=1.2)
|
93 |
else:
|
94 |
pipe.disable_freeu()
|
@@ -108,7 +108,7 @@ def run_model(user_state, condition_image, settings, prompt, neg_prompt, inferen
|
|
108 |
else:
|
109 |
pipe.set_adapters(["ENGAGE_LORA", "FILM_LORA", "MJ_LORA", "MORE_ART_LORA"],
|
110 |
adapter_weights=[0.0, 0.0, 0.0, 0.0])
|
111 |
-
pipe.disable_lora()
|
112 |
|
113 |
images = run_text_to_image(prompt=prompt,
|
114 |
neg_prompt=neg_prompt,
|
|
|
88 |
|
89 |
progress(0, desc="Thinking...", total=int(inference_steps))
|
90 |
|
91 |
+
"""if enable_freeu:
|
92 |
pipe.enable_freeu(s1=0.6, s2=0.4, b1=1.1, b2=1.2)
|
93 |
else:
|
94 |
pipe.disable_freeu()
|
|
|
108 |
else:
|
109 |
pipe.set_adapters(["ENGAGE_LORA", "FILM_LORA", "MJ_LORA", "MORE_ART_LORA"],
|
110 |
adapter_weights=[0.0, 0.0, 0.0, 0.0])
|
111 |
+
pipe.disable_lora()"""
|
112 |
|
113 |
images = run_text_to_image(prompt=prompt,
|
114 |
neg_prompt=neg_prompt,
|