Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Aore
/
controlNet-seg2image
like
0
Runtime error
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
Aore
commited on
May 22, 2023
Commit
6aeb56f
·
1 Parent(s):
6cf1cf3
Upload share.py
Browse files
Files changed (1)
hide
show
share.py
+8
-0
share.py
ADDED
Viewed
@@ -0,0 +1,8 @@
1
+
import config
2
+
from cldm.hack import disable_verbosity, enable_sliced_attention
3
+
4
+
5
+
disable_verbosity()
6
+
7
+
if config.save_memory:
8
+
enable_sliced_attention()