kevinwang676 commited on
Commit
595e4d5
·
1 Parent(s): 1027a13

Delete Untitled.ipynb

Browse files
Files changed (1) hide show
  1. Untitled.ipynb +0 -304
Untitled.ipynb DELETED
@@ -1,304 +0,0 @@
1
- {
2
- "cells": [
3
- {
4
- "cell_type": "code",
5
- "execution_count": 1,
6
- "id": "c7c5b761-5817-4e4a-ba47-32eb54bb260b",
7
- "metadata": {},
8
- "outputs": [
9
- {
10
- "name": "stdout",
11
- "output_type": "stream",
12
- "text": [
13
- "Requirement already satisfied: huggingface_hub in /opt/conda/lib/python3.10/site-packages (0.16.4)\n",
14
- "Requirement already satisfied: packaging>=20.9 in /opt/conda/lib/python3.10/site-packages (from huggingface_hub) (23.0)\n",
15
- "Requirement already satisfied: tqdm>=4.42.1 in /opt/conda/lib/python3.10/site-packages (from huggingface_hub) (4.65.0)\n",
16
- "Requirement already satisfied: requests in /opt/conda/lib/python3.10/site-packages (from huggingface_hub) (2.29.0)\n",
17
- "Requirement already satisfied: filelock in /opt/conda/lib/python3.10/site-packages (from huggingface_hub) (3.9.0)\n",
18
- "Requirement already satisfied: pyyaml>=5.1 in /opt/conda/lib/python3.10/site-packages (from huggingface_hub) (6.0)\n",
19
- "Requirement already satisfied: fsspec in /opt/conda/lib/python3.10/site-packages (from huggingface_hub) (2023.6.0)\n",
20
- "Requirement already satisfied: typing-extensions>=3.7.4.3 in /opt/conda/lib/python3.10/site-packages (from huggingface_hub) (4.7.1)\n",
21
- "Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/conda/lib/python3.10/site-packages (from requests->huggingface_hub) (1.26.15)\n",
22
- "Requirement already satisfied: idna<4,>=2.5 in /opt/conda/lib/python3.10/site-packages (from requests->huggingface_hub) (3.4)\n",
23
- "Requirement already satisfied: charset-normalizer<4,>=2 in /opt/conda/lib/python3.10/site-packages (from requests->huggingface_hub) (2.0.4)\n",
24
- "Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.10/site-packages (from requests->huggingface_hub) (2023.7.22)\n",
25
- "\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",
26
- "\u001b[0mNote: you may need to restart the kernel to use updated packages.\n"
27
- ]
28
- }
29
- ],
30
- "source": [
31
- "pip install huggingface_hub"
32
- ]
33
- },
34
- {
35
- "cell_type": "code",
36
- "execution_count": 2,
37
- "id": "d040ab92-9acf-4431-8fd8-aa2a003c730c",
38
- "metadata": {},
39
- "outputs": [
40
- {
41
- "data": {
42
- "application/vnd.jupyter.widget-view+json": {
43
- "model_id": "0c9fb758bb7f4822aa37cffe324dfa43",
44
- "version_major": 2,
45
- "version_minor": 0
46
- },
47
- "text/plain": [
48
- "VBox(children=(HTML(value='<center> <img\\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.sv…"
49
- ]
50
- },
51
- "metadata": {},
52
- "output_type": "display_data"
53
- }
54
- ],
55
- "source": [
56
- "from huggingface_hub import login\n",
57
- "login()"
58
- ]
59
- },
60
- {
61
- "cell_type": "code",
62
- "execution_count": null,
63
- "id": "6eb10579-77f6-445c-b9ad-9208e2149e10",
64
- "metadata": {},
65
- "outputs": [
66
- {
67
- "data": {
68
- "application/vnd.jupyter.widget-view+json": {
69
- "model_id": "01ca2e03d1c34bc892a64e472cce360a",
70
- "version_major": 2,
71
- "version_minor": 0
72
- },
73
- "text/plain": [
74
- "SadTalker_V0.0.2_256.safetensors: 0%| | 0.00/725M [00:00<?, ?B/s]"
75
- ]
76
- },
77
- "metadata": {},
78
- "output_type": "display_data"
79
- },
80
- {
81
- "data": {
82
- "application/vnd.jupyter.widget-view+json": {
83
- "model_id": "1feeb3753b114cdbb8a6df1f3595f781",
84
- "version_major": 2,
85
- "version_minor": 0
86
- },
87
- "text/plain": [
88
- "Upload 31 LFS files: 0%| | 0/31 [00:00<?, ?it/s]"
89
- ]
90
- },
91
- "metadata": {},
92
- "output_type": "display_data"
93
- },
94
- {
95
- "data": {
96
- "application/vnd.jupyter.widget-view+json": {
97
- "model_id": "855fb601ae5644709c145abc9816b429",
98
- "version_major": 2,
99
- "version_minor": 0
100
- },
101
- "text/plain": [
102
- "mapping_00229-model.pth.tar: 0%| | 0.00/156M [00:00<?, ?B/s]"
103
- ]
104
- },
105
- "metadata": {},
106
- "output_type": "display_data"
107
- },
108
- {
109
- "data": {
110
- "application/vnd.jupyter.widget-view+json": {
111
- "model_id": "d8f3e6411088489d82a0320ef20a8c47",
112
- "version_major": 2,
113
- "version_minor": 0
114
- },
115
- "text/plain": [
116
- "SadTalker_V0.0.2_512.safetensors: 0%| | 0.00/725M [00:00<?, ?B/s]"
117
- ]
118
- },
119
- "metadata": {},
120
- "output_type": "display_data"
121
- },
122
- {
123
- "data": {
124
- "application/vnd.jupyter.widget-view+json": {
125
- "model_id": "ee6791f157dd49549e0322ee2f8715c5",
126
- "version_major": 2,
127
- "version_minor": 0
128
- },
129
- "text/plain": [
130
- "mapping_00109-model.pth.tar: 0%| | 0.00/156M [00:00<?, ?B/s]"
131
- ]
132
- },
133
- "metadata": {},
134
- "output_type": "display_data"
135
- },
136
- {
137
- "data": {
138
- "application/vnd.jupyter.widget-view+json": {
139
- "model_id": "0b6ad87a3762426495a57f8efc84aa7a",
140
- "version_major": 2,
141
- "version_minor": 0
142
- },
143
- "text/plain": [
144
- "GFPGANv1.4.pth: 0%| | 0.00/349M [00:00<?, ?B/s]"
145
- ]
146
- },
147
- "metadata": {},
148
- "output_type": "display_data"
149
- },
150
- {
151
- "data": {
152
- "application/vnd.jupyter.widget-view+json": {
153
- "model_id": "34bfba73d99d4893ae31d77993343560",
154
- "version_major": 2,
155
- "version_minor": 0
156
- },
157
- "text/plain": [
158
- "alignment_WFLW_4HG.pth: 0%| | 0.00/194M [00:00<?, ?B/s]"
159
- ]
160
- },
161
- "metadata": {},
162
- "output_type": "display_data"
163
- },
164
- {
165
- "data": {
166
- "application/vnd.jupyter.widget-view+json": {
167
- "model_id": "677bd426c6b143d2b5a4162993a86c29",
168
- "version_major": 2,
169
- "version_minor": 0
170
- },
171
- "text/plain": [
172
- "detection_Resnet50_Final.pth: 0%| | 0.00/109M [00:00<?, ?B/s]"
173
- ]
174
- },
175
- "metadata": {},
176
- "output_type": "display_data"
177
- },
178
- {
179
- "data": {
180
- "application/vnd.jupyter.widget-view+json": {
181
- "model_id": "af70fee864c74e9c815fb8378dd2531b",
182
- "version_major": 2,
183
- "version_minor": 0
184
- },
185
- "text/plain": [
186
- "parsing_parsenet.pth: 0%| | 0.00/85.3M [00:00<?, ?B/s]"
187
- ]
188
- },
189
- "metadata": {},
190
- "output_type": "display_data"
191
- },
192
- {
193
- "data": {
194
- "application/vnd.jupyter.widget-view+json": {
195
- "model_id": "4c1d651545f2430c82c2adf16c436c70",
196
- "version_major": 2,
197
- "version_minor": 0
198
- },
199
- "text/plain": [
200
- "example_crop.gif: 0%| | 0.00/1.55M [00:00<?, ?B/s]"
201
- ]
202
- },
203
- "metadata": {},
204
- "output_type": "display_data"
205
- },
206
- {
207
- "data": {
208
- "application/vnd.jupyter.widget-view+json": {
209
- "model_id": "b010c29ac39f43f9a3ca8fcdfc9db94a",
210
- "version_major": 2,
211
- "version_minor": 0
212
- },
213
- "text/plain": [
214
- "example_crop_still.gif: 0%| | 0.00/1.25M [00:00<?, ?B/s]"
215
- ]
216
- },
217
- "metadata": {},
218
- "output_type": "display_data"
219
- },
220
- {
221
- "data": {
222
- "application/vnd.jupyter.widget-view+json": {
223
- "model_id": "b9d9b96853b642eba3b75a14973b140e",
224
- "version_major": 2,
225
- "version_minor": 0
226
- },
227
- "text/plain": [
228
- "example_full.gif: 0%| | 0.00/1.46M [00:00<?, ?B/s]"
229
- ]
230
- },
231
- "metadata": {},
232
- "output_type": "display_data"
233
- },
234
- {
235
- "data": {
236
- "application/vnd.jupyter.widget-view+json": {
237
- "model_id": "3f6bd15bc48a422b88464937af3ffd47",
238
- "version_major": 2,
239
- "version_minor": 0
240
- },
241
- "text/plain": [
242
- "example_full_enhanced.gif: 0%| | 0.00/5.78M [00:00<?, ?B/s]"
243
- ]
244
- },
245
- "metadata": {},
246
- "output_type": "display_data"
247
- },
248
- {
249
- "data": {
250
- "application/vnd.jupyter.widget-view+json": {
251
- "model_id": "ab6b61f50357450392483a22ddc5d2c2",
252
- "version_major": 2,
253
- "version_minor": 0
254
- },
255
- "text/plain": [
256
- "free_view_result.gif: 0%| | 0.00/5.61M [00:00<?, ?B/s]"
257
- ]
258
- },
259
- "metadata": {},
260
- "output_type": "display_data"
261
- }
262
- ],
263
- "source": [
264
- "from huggingface_hub import HfApi\n",
265
- "api = HfApi()\n",
266
- "\n",
267
- "api.upload_folder(\n",
268
- " folder_path=\"\",\n",
269
- " repo_id=\"kevinwang676/VoiceChanger\",\n",
270
- " repo_type=\"space\",\n",
271
- ")"
272
- ]
273
- },
274
- {
275
- "cell_type": "code",
276
- "execution_count": null,
277
- "id": "561cabc8-6ab5-4008-afcc-e4f85bb021cd",
278
- "metadata": {},
279
- "outputs": [],
280
- "source": []
281
- }
282
- ],
283
- "metadata": {
284
- "kernelspec": {
285
- "display_name": "Python 3 (ipykernel)",
286
- "language": "python",
287
- "name": "python3"
288
- },
289
- "language_info": {
290
- "codemirror_mode": {
291
- "name": "ipython",
292
- "version": 3
293
- },
294
- "file_extension": ".py",
295
- "mimetype": "text/x-python",
296
- "name": "python",
297
- "nbconvert_exporter": "python",
298
- "pygments_lexer": "ipython3",
299
- "version": "3.10.11"
300
- }
301
- },
302
- "nbformat": 4,
303
- "nbformat_minor": 5
304
- }