Spaces:
Runtime error
Runtime error
changed sys path of taming transformers
Browse files- requirements.txt +2 -1
- sd.py +2 -2
requirements.txt
CHANGED
|
@@ -17,4 +17,5 @@ resize-right
|
|
| 17 |
timm
|
| 18 |
torchdiffeq
|
| 19 |
opencv-python
|
| 20 |
-
scikit-image
|
|
|
|
|
|
| 17 |
timm
|
| 18 |
torchdiffeq
|
| 19 |
opencv-python
|
| 20 |
+
scikit-image
|
| 21 |
+
huggingface_hub
|
sd.py
CHANGED
|
@@ -32,8 +32,8 @@ with open('k-diffusion/k_diffusion/__init__.py', 'w') as f:
|
|
| 32 |
f.write('')
|
| 33 |
|
| 34 |
sys.path.extend([
|
| 35 |
-
'
|
| 36 |
-
'
|
| 37 |
'stable-diffusion/',
|
| 38 |
'k-diffusion',
|
| 39 |
'pytorch3d-lite',
|
|
|
|
| 32 |
f.write('')
|
| 33 |
|
| 34 |
sys.path.extend([
|
| 35 |
+
'./taming-transformers',
|
| 36 |
+
'./clip',
|
| 37 |
'stable-diffusion/',
|
| 38 |
'k-diffusion',
|
| 39 |
'pytorch3d-lite',
|