Update venv180.py
Browse files- venv180.py +4 -1
venv180.py
CHANGED
@@ -9,6 +9,9 @@ import re
|
|
9 |
xxx = "/kaggle/working"
|
10 |
zzz = "/kaggle/working/asd"
|
11 |
|
|
|
|
|
|
|
12 |
os.system(f'curl -sLo {xxx}/pantat88.py https://raw.githubusercontent.com/gutris1/segsmaker/main/kaggle/script/pantat88.py')
|
13 |
os.system(f'curl -sLo {xxx}/nenen88.py https://huggingface.co/pantat88/ui/resolve/main/nenen88.py')
|
14 |
sys.path.append(xxx)
|
@@ -17,7 +20,7 @@ def venv_in():
|
|
17 |
from pantat88 import say
|
18 |
os.chdir('/kaggle')
|
19 |
say('【 {red} Installing VENV {d} 】 {red}')
|
20 |
-
|
21 |
url = 'https://huggingface.co/pantat88/back_up/resolve/main/venv-1_8_0.tar.lz4'
|
22 |
fn = 'venv-1_8_0.tar.lz4'
|
23 |
fc = f"aria2c --console-log-level=error --summary-interval=1 -c -x16 -s16 -k1M -j5 '{url}' -o '{fn}'"
|
|
|
9 |
xxx = "/kaggle/working"
|
10 |
zzz = "/kaggle/working/asd"
|
11 |
|
12 |
+
os.system('apt-get update')
|
13 |
+
os.system('apt -y install lz4 pv aria2 > /dev/null 2>&1')
|
14 |
+
|
15 |
os.system(f'curl -sLo {xxx}/pantat88.py https://raw.githubusercontent.com/gutris1/segsmaker/main/kaggle/script/pantat88.py')
|
16 |
os.system(f'curl -sLo {xxx}/nenen88.py https://huggingface.co/pantat88/ui/resolve/main/nenen88.py')
|
17 |
sys.path.append(xxx)
|
|
|
20 |
from pantat88 import say
|
21 |
os.chdir('/kaggle')
|
22 |
say('【 {red} Installing VENV {d} 】 {red}')
|
23 |
+
|
24 |
url = 'https://huggingface.co/pantat88/back_up/resolve/main/venv-1_8_0.tar.lz4'
|
25 |
fn = 'venv-1_8_0.tar.lz4'
|
26 |
fc = f"aria2c --console-log-level=error --summary-interval=1 -c -x16 -s16 -k1M -j5 '{url}' -o '{fn}'"
|