Spaces:
Runtime error
Runtime error
cocktailpeanut
commited on
Commit
•
f31525e
1
Parent(s):
cb2b917
update
Browse files- app.py +4 -4
- ipadapter.py +4 -0
app.py
CHANGED
@@ -16,10 +16,10 @@ from huggingface_hub import hf_hub_download
|
|
16 |
|
17 |
from ip_adapter import IPAdapterXL
|
18 |
|
19 |
-
import os
|
20 |
-
os.system("git lfs install")
|
21 |
-
os.system("git clone https://huggingface.co/h94/IP-Adapter")
|
22 |
-
os.system("mv IP-Adapter/sdxl_models sdxl_models")
|
23 |
|
24 |
# global variable
|
25 |
MAX_SEED = np.iinfo(np.int32).max
|
|
|
16 |
|
17 |
from ip_adapter import IPAdapterXL
|
18 |
|
19 |
+
#import os
|
20 |
+
#os.system("git lfs install")
|
21 |
+
#os.system("git clone https://huggingface.co/h94/IP-Adapter")
|
22 |
+
#os.system("mv IP-Adapter/sdxl_models sdxl_models")
|
23 |
|
24 |
# global variable
|
25 |
MAX_SEED = np.iinfo(np.int32).max
|
ipadapter.py
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
os.system("git lfs install")
|
3 |
+
os.system("git clone https://huggingface.co/h94/IP-Adapter")
|
4 |
+
os.system("mv IP-Adapter/sdxl_models sdxl_models")
|