dslee2601 commited on
Commit
a540101
Β·
1 Parent(s): cf72b50

specify 24khz

Browse files
Files changed (1) hide show
  1. save_model.ipynb +6 -6
save_model.ipynb CHANGED
@@ -53,26 +53,26 @@
53
  },
54
  {
55
  "cell_type": "code",
56
- "execution_count": 4,
57
  "metadata": {},
58
  "outputs": [
59
  {
60
  "name": "stderr",
61
  "output_type": "stream",
62
  "text": [
63
- "c:\\Users\\dslee\\anaconda3\\envs\\sound_effect_variation_generation\\lib\\site-packages\\huggingface_hub\\file_download.py:159: UserWarning: `huggingface_hub` cache-system uses symlinks by default to efficiently store duplicated files but your machine does not support them in C:\\Users\\dslee\\.cache\\huggingface\\hub\\models--hance-ai--descript-audio-codec. Caching files will still work but in a degraded version that might require more space on your disk. This warning can be disabled by setting the `HF_HUB_DISABLE_SYMLINKS_WARNING` environment variable. For more details, see https://huggingface.co/docs/huggingface_hub/how-to-cache#limitations.\n",
64
  "To support symlinks on Windows, you either need to activate Developer Mode or to run Python as an administrator. In order to see activate developer mode, see this article: https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development\n",
65
  " warnings.warn(message)\n",
66
- "model.safetensors: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 307M/307M [00:12<00:00, 24.8MB/s] \n"
67
  ]
68
  },
69
  {
70
  "data": {
71
  "text/plain": [
72
- "CommitInfo(commit_url='https://huggingface.co/hance-ai/descript-audio-codec/commit/2e9807d42634ebe9ad4e996fd92b5125e1690bec', commit_message='Upload DAC', commit_description='', oid='2e9807d42634ebe9ad4e996fd92b5125e1690bec', pr_url=None, pr_revision=None, pr_num=None)"
73
  ]
74
  },
75
- "execution_count": 4,
76
  "metadata": {},
77
  "output_type": "execute_result"
78
  }
@@ -82,7 +82,7 @@
82
  "with open('token.txt', 'r') as file:\n",
83
  " token = file.read().strip()\n",
84
  "\n",
85
- "model.push_to_hub('hance-ai/descript-audio-codec', token=token) # put your token"
86
  ]
87
  },
88
  {
 
53
  },
54
  {
55
  "cell_type": "code",
56
+ "execution_count": 5,
57
  "metadata": {},
58
  "outputs": [
59
  {
60
  "name": "stderr",
61
  "output_type": "stream",
62
  "text": [
63
+ "c:\\Users\\dslee\\anaconda3\\envs\\sound_effect_variation_generation\\lib\\site-packages\\huggingface_hub\\file_download.py:159: UserWarning: `huggingface_hub` cache-system uses symlinks by default to efficiently store duplicated files but your machine does not support them in C:\\Users\\dslee\\.cache\\huggingface\\hub\\models--hance-ai--descript-audio-codec-24khz. Caching files will still work but in a degraded version that might require more space on your disk. This warning can be disabled by setting the `HF_HUB_DISABLE_SYMLINKS_WARNING` environment variable. For more details, see https://huggingface.co/docs/huggingface_hub/how-to-cache#limitations.\n",
64
  "To support symlinks on Windows, you either need to activate Developer Mode or to run Python as an administrator. In order to see activate developer mode, see this article: https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development\n",
65
  " warnings.warn(message)\n",
66
+ "model.safetensors: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 299M/299M [00:11<00:00, 26.5MB/s]\n"
67
  ]
68
  },
69
  {
70
  "data": {
71
  "text/plain": [
72
+ "CommitInfo(commit_url='https://huggingface.co/hance-ai/descript-audio-codec-24khz/commit/cf72b50044750326ebc01f01c3a032adbaf59439', commit_message='Upload DAC', commit_description='', oid='cf72b50044750326ebc01f01c3a032adbaf59439', pr_url=None, pr_revision=None, pr_num=None)"
73
  ]
74
  },
75
+ "execution_count": 5,
76
  "metadata": {},
77
  "output_type": "execute_result"
78
  }
 
82
  "with open('token.txt', 'r') as file:\n",
83
  " token = file.read().strip()\n",
84
  "\n",
85
+ "model.push_to_hub('hance-ai/descript-audio-codec-24khz', token=token) # put your token"
86
  ]
87
  },
88
  {