Spaces:
Runtime error
Runtime error
cocktailpeanut
commited on
Commit
•
eb440a3
1
Parent(s):
50f5169
update
Browse files- app.py +1 -1
- requirements.txt +2 -2
app.py
CHANGED
@@ -75,7 +75,7 @@ guidance_scale = 5
|
|
75 |
# LCM
|
76 |
if os.environ.get("MODE") == "LCM":
|
77 |
print("LCM")
|
78 |
-
num_inference_steps =
|
79 |
guidance_scale = 2
|
80 |
|
81 |
pipe.load_lora_weights(lcm_lora_path)
|
|
|
75 |
# LCM
|
76 |
if os.environ.get("MODE") == "LCM":
|
77 |
print("LCM")
|
78 |
+
num_inference_steps = 4
|
79 |
guidance_scale = 2
|
80 |
|
81 |
pipe.load_lora_weights(lcm_lora_path)
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
diffusers
|
2 |
#torch==2.0.0
|
3 |
#torchvision==0.15.1
|
4 |
transformers==4.36.2
|
@@ -10,6 +10,6 @@ onnxruntime
|
|
10 |
spaces==0.19.4
|
11 |
omegaconf
|
12 |
peft
|
13 |
-
|
14 |
opencv-python
|
15 |
insightface
|
|
|
1 |
+
diffusers>=0.25.1
|
2 |
#torch==2.0.0
|
3 |
#torchvision==0.15.1
|
4 |
transformers==4.36.2
|
|
|
10 |
spaces==0.19.4
|
11 |
omegaconf
|
12 |
peft
|
13 |
+
huggingface_hub>=0.20.2
|
14 |
opencv-python
|
15 |
insightface
|