Transformers
Inference Endpoints
pantat88 commited on
Commit
5be2209
·
verified ·
1 Parent(s): 092cf7d

Update nenen.py

Browse files
Files changed (1) hide show
  1. nenen.py +3 -9
nenen.py CHANGED
@@ -5,7 +5,7 @@ xxx = "/kaggle/working"
5
  zzz = "/kaggle/working/asd"
6
  fff = "/kaggle/venv/bin/python3"
7
 
8
- os.system(f"wget https://raw.githubusercontent.com/gutris1/segsmaker/main/kaggle/script/pantat88.py -O {xxx}/pantat88.py")
9
  os.chdir(xxx)
10
  sys.path.append(xxx)
11
  from pantat88 import pull, say
@@ -14,11 +14,5 @@ say("【 {red} Installing Stable Diffusion {d} 】 {red}")
14
  os.system(f"git clone -q -b v1.8.0 https://github.com/gutris1/asd")
15
 
16
  os.chdir(zzz)
17
- pull("https://github.com/gutris1/segsmaker", "asd", zzz)
18
-
19
- def gasss(filepath):
20
- with open(filepath, 'r') as file:
21
- exec(file.read(), globals())
22
-
23
- gasss(f"{zzz}/asd/asd.py")
24
- gasss(f"{xxx}/pantat88.py")
 
5
  zzz = "/kaggle/working/asd"
6
  fff = "/kaggle/venv/bin/python3"
7
 
8
+ os.system(f"wget -q https://raw.githubusercontent.com/gutris1/segsmaker/main/kaggle/script/pantat88.py -O {xxx}/pantat88.py")
9
  os.chdir(xxx)
10
  sys.path.append(xxx)
11
  from pantat88 import pull, say
 
14
  os.system(f"git clone -q -b v1.8.0 https://github.com/gutris1/asd")
15
 
16
  os.chdir(zzz)
17
+ pull(f"https://github.com/gutris1/segsmaker asd {zzz}")
18
+ os.system(f"{zzz}/asd/asd.py")