Transformers
Inference Endpoints
pantat88 commited on
Commit
090409c
·
verified ·
1 Parent(s): 691e4d7

Update nenen.py

Browse files
Files changed (1) hide show
  1. nenen.py +27 -1
nenen.py CHANGED
@@ -8,7 +8,7 @@ fff = "/kaggle/venv/bin/python3"
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
12
 
13
  say("【 {red} Installing Stable Diffusion {d} 】 {red}")
14
  os.system(f"git clone -q -b v1.8.0 https://github.com/gutris1/asd")
@@ -16,6 +16,32 @@ os.system(f"git clone -q -b v1.8.0 https://github.com/gutris1/asd")
16
  os.chdir(zzz)
17
  pull(f"https://github.com/gutris1/segsmaker asd {zzz}")
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  aaaaaaaaaaaa = os.path.join(zzz, "asd", "asd.py")
20
  with open(aaaaaaaaaaaa, 'r') as file:
21
  uuuuuuuuu = file.read()
 
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, download
12
 
13
  say("【 {red} Installing Stable Diffusion {d} 】 {red}")
14
  os.system(f"git clone -q -b v1.8.0 https://github.com/gutris1/asd")
 
16
  os.chdir(zzz)
17
  pull(f"https://github.com/gutris1/segsmaker asd {zzz}")
18
 
19
+ jalanan = [
20
+ "https://huggingface.co/pantat88/ui/resolve/main/embeddings.zip /kaggle/working/asd",
21
+ "https://civitai.com/api/download/models/150491 /kaggle/working/asd/embeddings edgQuality.pt",
22
+ "https://huggingface.co/pantat88/ui/resolve/main/4x-UltraSharp.pth /kaggle/working/asd/models/ESRGAN",
23
+ "https://huggingface.co/pantat88/ui/resolve/main/4x-AnimeSharp.pth /kaggle/working/asd/models/ESRGAN",
24
+ "https://huggingface.co/pantat88/ui/resolve/main/4x_NMKD-Superscale-SP_178000_G.pth /kaggle/working/asd/models/ESRGAN",
25
+ "https://huggingface.co/pantat88/ui/resolve/main/4x_RealisticRescaler_100000_G.pth /kaggle/working/asd/models/ESRGAN",
26
+ "https://huggingface.co/pantat88/ui/resolve/main/8x_RealESRGAN.pth /kaggle/working/asd/models/ESRGAN",
27
+ "https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors /kaggle/working/asd/models/VAE",
28
+ "https://huggingface.co/pantat88/ui/resolve/main/hashes.py /kaggle/working/asd/modules hashes.py",
29
+ "https://huggingface.co/pantat88/ui/resolve/main/lora_block_weight.py /kaggle/working/asd/extensions/lora-block-weight/scripts lora_block_weight.py"]
30
+
31
+ for janda in jalanan:
32
+ download(janda)
33
+
34
+ https://huggingface.co/pantat88/ui/resolve/main/embeddings.zip /kaggle/working/asd
35
+ https://civitai.com/api/download/models/150491 /kaggle/working/asd/embeddings edgQuality.pt
36
+ https://huggingface.co/pantat88/ui/resolve/main/4x-UltraSharp.pth /kaggle/working/asd/models/ESRGAN
37
+ https://huggingface.co/pantat88/ui/resolve/main/4x-AnimeSharp.pth /kaggle/working/asd/models/ESRGAN
38
+ https://huggingface.co/pantat88/ui/resolve/main/4x_NMKD-Superscale-SP_178000_G.pth /kaggle/working/asd/models/ESRGAN
39
+ https://huggingface.co/pantat88/ui/resolve/main/4x_RealisticRescaler_100000_G.pth /kaggle/working/asd/models/ESRGAN
40
+ https://huggingface.co/pantat88/ui/resolve/main/8x_RealESRGAN.pth /kaggle/working/asd/models/ESRGAN
41
+ https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors /kaggle/working/asd/models/VAE
42
+ https://huggingface.co/pantat88/ui/resolve/main/hashes.py /kaggle/working/asd/modules hashes.py
43
+ https://huggingface.co/pantat88/ui/resolve/main/lora_block_weight.py /kaggle/working/asd/extensions/lora-block-weight/scripts lora_block_weight.py
44
+
45
  aaaaaaaaaaaa = os.path.join(zzz, "asd", "asd.py")
46
  with open(aaaaaaaaaaaa, 'r') as file:
47
  uuuuuuuuu = file.read()