Instructions to use skyadmin/cog-webui-sd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use skyadmin/cog-webui-sd with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("skyadmin/cog-webui-sd", device_map="auto") - Notebooks
- Google Colab
- Kaggle
sky-admin commited on
Commit ·
42f366f
1
Parent(s): 3c18c09
update
Browse files- modules/scripts.py +1 -0
modules/scripts.py
CHANGED
|
@@ -181,6 +181,7 @@ def list_scripts(scriptdirname, extension):
|
|
| 181 |
|
| 182 |
scripts_list = [x for x in scripts_list if os.path.splitext(x.path)[1].lower() == extension and os.path.isfile(x.path)]
|
| 183 |
|
|
|
|
| 184 |
return scripts_list
|
| 185 |
|
| 186 |
|
|
|
|
| 181 |
|
| 182 |
scripts_list = [x for x in scripts_list if os.path.splitext(x.path)[1].lower() == extension and os.path.isfile(x.path)]
|
| 183 |
|
| 184 |
+
print("111111111 scripts_list", scripts_list)
|
| 185 |
return scripts_list
|
| 186 |
|
| 187 |
|