Upload folder using huggingface_hub
Browse files- .ipynb_checkpoints/Untitled-checkpoint.ipynb +6 -0
- DreamShaperXL1.0Alpha2_fixedVae_half_00001_.safetensors +3 -0
- DreamShaperXL_Lightning.safetensors +3 -0
- Untitled.ipynb +123 -0
- comicspray2.ckpt +3 -0
- realVisXL_4.0Lightning.safetensors +3 -0
- realisticVisionV51_v51VAE.safetensors +3 -0
- spraycomic.ckpt +3 -0
.ipynb_checkpoints/Untitled-checkpoint.ipynb
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [],
|
| 3 |
+
"metadata": {},
|
| 4 |
+
"nbformat": 4,
|
| 5 |
+
"nbformat_minor": 5
|
| 6 |
+
}
|
DreamShaperXL1.0Alpha2_fixedVae_half_00001_.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f1b80cfe81b9c3bde7fdcbf6898897b2811b27be1df684583c3d85cbc9b1fa4
|
| 3 |
+
size 6938068556
|
DreamShaperXL_Lightning.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdbe56354b8f876b736f24d3ad867ecd4140c019f57642ec8ddd878088d44f64
|
| 3 |
+
size 6939220250
|
Untitled.ipynb
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "code",
|
| 5 |
+
"execution_count": 1,
|
| 6 |
+
"id": "82f1fec1-7abe-4e59-8aa7-d192476d692f",
|
| 7 |
+
"metadata": {},
|
| 8 |
+
"outputs": [
|
| 9 |
+
{
|
| 10 |
+
"name": "stdout",
|
| 11 |
+
"output_type": "stream",
|
| 12 |
+
"text": [
|
| 13 |
+
"Collecting glob2\n",
|
| 14 |
+
" Downloading glob2-0.7.tar.gz (10 kB)\n",
|
| 15 |
+
" Preparing metadata (setup.py) ... \u001b[?25ldone\n",
|
| 16 |
+
"\u001b[?25hBuilding wheels for collected packages: glob2\n",
|
| 17 |
+
" Building wheel for glob2 (setup.py) ... \u001b[?25ldone\n",
|
| 18 |
+
"\u001b[?25h Created wheel for glob2: filename=glob2-0.7-py2.py3-none-any.whl size=9320 sha256=c5f649e7bffd80c7a11748dc9ac492979584612ad0ea079ee81063824165d387\n",
|
| 19 |
+
" Stored in directory: /tmp/pip-ephem-wheel-cache-vzjsllcq/wheels/37/07/ce/cbe8d31ad93224571b49fa03f8a5da11cdb31d3845ff73e0f3\n",
|
| 20 |
+
"Successfully built glob2\n",
|
| 21 |
+
"Installing collected packages: glob2\n",
|
| 22 |
+
"Successfully installed glob2-0.7\n",
|
| 23 |
+
"\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n",
|
| 24 |
+
"\u001b[0mRequirement already satisfied: ipywidgets in /usr/local/lib/python3.10/dist-packages (8.1.2)\n",
|
| 25 |
+
"Requirement already satisfied: traitlets>=4.3.1 in /usr/local/lib/python3.10/dist-packages (from ipywidgets) (5.14.1)\n",
|
| 26 |
+
"Requirement already satisfied: ipython>=6.1.0 in /usr/local/lib/python3.10/dist-packages (from ipywidgets) (8.22.1)\n",
|
| 27 |
+
"Requirement already satisfied: jupyterlab-widgets~=3.0.10 in /usr/local/lib/python3.10/dist-packages (from ipywidgets) (3.0.10)\n",
|
| 28 |
+
"Requirement already satisfied: comm>=0.1.3 in /usr/local/lib/python3.10/dist-packages (from ipywidgets) (0.2.1)\n",
|
| 29 |
+
"Requirement already satisfied: widgetsnbextension~=4.0.10 in /usr/local/lib/python3.10/dist-packages (from ipywidgets) (4.0.10)\n",
|
| 30 |
+
"Requirement already satisfied: pexpect>4.3 in /usr/local/lib/python3.10/dist-packages (from ipython>=6.1.0->ipywidgets) (4.9.0)\n",
|
| 31 |
+
"Requirement already satisfied: decorator in /usr/local/lib/python3.10/dist-packages (from ipython>=6.1.0->ipywidgets) (5.1.1)\n",
|
| 32 |
+
"Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/dist-packages (from ipython>=6.1.0->ipywidgets) (1.2.0)\n",
|
| 33 |
+
"Requirement already satisfied: matplotlib-inline in /usr/local/lib/python3.10/dist-packages (from ipython>=6.1.0->ipywidgets) (0.1.6)\n",
|
| 34 |
+
"Requirement already satisfied: jedi>=0.16 in /usr/local/lib/python3.10/dist-packages (from ipython>=6.1.0->ipywidgets) (0.19.1)\n",
|
| 35 |
+
"Requirement already satisfied: pygments>=2.4.0 in /usr/local/lib/python3.10/dist-packages (from ipython>=6.1.0->ipywidgets) (2.17.2)\n",
|
| 36 |
+
"Requirement already satisfied: stack-data in /usr/local/lib/python3.10/dist-packages (from ipython>=6.1.0->ipywidgets) (0.6.3)\n",
|
| 37 |
+
"Requirement already satisfied: prompt-toolkit<3.1.0,>=3.0.41 in /usr/local/lib/python3.10/dist-packages (from ipython>=6.1.0->ipywidgets) (3.0.43)\n",
|
| 38 |
+
"Requirement already satisfied: parso<0.9.0,>=0.8.3 in /usr/local/lib/python3.10/dist-packages (from jedi>=0.16->ipython>=6.1.0->ipywidgets) (0.8.3)\n",
|
| 39 |
+
"Requirement already satisfied: ptyprocess>=0.5 in /usr/local/lib/python3.10/dist-packages (from pexpect>4.3->ipython>=6.1.0->ipywidgets) (0.7.0)\n",
|
| 40 |
+
"Requirement already satisfied: wcwidth in /usr/local/lib/python3.10/dist-packages (from prompt-toolkit<3.1.0,>=3.0.41->ipython>=6.1.0->ipywidgets) (0.2.13)\n",
|
| 41 |
+
"Requirement already satisfied: pure-eval in /usr/local/lib/python3.10/dist-packages (from stack-data->ipython>=6.1.0->ipywidgets) (0.2.2)\n",
|
| 42 |
+
"Requirement already satisfied: executing>=1.2.0 in /usr/local/lib/python3.10/dist-packages (from stack-data->ipython>=6.1.0->ipywidgets) (2.0.1)\n",
|
| 43 |
+
"Requirement already satisfied: asttokens>=2.1.0 in /usr/local/lib/python3.10/dist-packages (from stack-data->ipython>=6.1.0->ipywidgets) (2.4.1)\n",
|
| 44 |
+
"Requirement already satisfied: six>=1.12.0 in /usr/lib/python3/dist-packages (from asttokens>=2.1.0->stack-data->ipython>=6.1.0->ipywidgets) (1.16.0)\n",
|
| 45 |
+
"\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n",
|
| 46 |
+
"\u001b[0m"
|
| 47 |
+
]
|
| 48 |
+
}
|
| 49 |
+
],
|
| 50 |
+
"source": [
|
| 51 |
+
"!pip install glob2\n",
|
| 52 |
+
"!pip install ipywidgets"
|
| 53 |
+
]
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"cell_type": "code",
|
| 57 |
+
"execution_count": 2,
|
| 58 |
+
"id": "a0447557-4121-4298-89a5-27db75ecf58f",
|
| 59 |
+
"metadata": {},
|
| 60 |
+
"outputs": [
|
| 61 |
+
{
|
| 62 |
+
"data": {
|
| 63 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 64 |
+
"model_id": "9bdebdc41f7c4b1eb196f6c3197624fc",
|
| 65 |
+
"version_major": 2,
|
| 66 |
+
"version_minor": 0
|
| 67 |
+
},
|
| 68 |
+
"text/plain": [
|
| 69 |
+
"VBox(children=(HTML(value='<center> <img\\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.sv…"
|
| 70 |
+
]
|
| 71 |
+
},
|
| 72 |
+
"metadata": {},
|
| 73 |
+
"output_type": "display_data"
|
| 74 |
+
}
|
| 75 |
+
],
|
| 76 |
+
"source": [
|
| 77 |
+
"from huggingface_hub import notebook_login, hf_hub_download\n",
|
| 78 |
+
"import os\n",
|
| 79 |
+
"notebook_login()"
|
| 80 |
+
]
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"cell_type": "code",
|
| 84 |
+
"execution_count": null,
|
| 85 |
+
"id": "51785343-488b-4f6c-a12e-3a6ed7521f31",
|
| 86 |
+
"metadata": {},
|
| 87 |
+
"outputs": [],
|
| 88 |
+
"source": [
|
| 89 |
+
"from huggingface_hub import HfApi\n",
|
| 90 |
+
"api = HfApi()\n",
|
| 91 |
+
"\n",
|
| 92 |
+
"# Upload all the content from the local folder to your remote Space.\n",
|
| 93 |
+
"# By default, files are uploaded at the root of the repo\n",
|
| 94 |
+
"api.upload_folder(\n",
|
| 95 |
+
" folder_path=\"/workspace/stable-diffusion-webui-forge/models/Stable-diffusion\",\n",
|
| 96 |
+
" repo_id=\"jtmichels/data1\",\n",
|
| 97 |
+
" repo_type=\"dataset\",\n",
|
| 98 |
+
")"
|
| 99 |
+
]
|
| 100 |
+
}
|
| 101 |
+
],
|
| 102 |
+
"metadata": {
|
| 103 |
+
"kernelspec": {
|
| 104 |
+
"display_name": "Python 3 (ipykernel)",
|
| 105 |
+
"language": "python",
|
| 106 |
+
"name": "python3"
|
| 107 |
+
},
|
| 108 |
+
"language_info": {
|
| 109 |
+
"codemirror_mode": {
|
| 110 |
+
"name": "ipython",
|
| 111 |
+
"version": 3
|
| 112 |
+
},
|
| 113 |
+
"file_extension": ".py",
|
| 114 |
+
"mimetype": "text/x-python",
|
| 115 |
+
"name": "python",
|
| 116 |
+
"nbconvert_exporter": "python",
|
| 117 |
+
"pygments_lexer": "ipython3",
|
| 118 |
+
"version": "3.10.12"
|
| 119 |
+
}
|
| 120 |
+
},
|
| 121 |
+
"nbformat": 4,
|
| 122 |
+
"nbformat_minor": 5
|
| 123 |
+
}
|
comicspray2.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8fe6fcc4a39cf377b89a904b75e249378dd1749598b164120bacf5c781ac9b7d
|
| 3 |
+
size 2132862235
|
realVisXL_4.0Lightning.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6a48d3e2025448f011c27f4667145286910696d744c50c8ba3c2fb31dc98ea1
|
| 3 |
+
size 6939220250
|
realisticVisionV51_v51VAE.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:912c9dc74f5855175c31a7993f863a043ac8dcc31732b324cd05d75cd7e16844
|
| 3 |
+
size 6938040706
|
spraycomic.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35671f6fef20b608442c54d8f87e7f7ef11466f2b2ec621e368004e3c2d0c144
|
| 3 |
+
size 2132861100
|