vkaigen commited on
Commit
a6da3e0
·
verified ·
1 Parent(s): 0e5003d

Delete .gitattributes

Browse files
Files changed (1) hide show
  1. .gitattributes +0 -21
.gitattributes DELETED
@@ -1,21 +0,0 @@
1
- import os
2
- import subprocess
3
-
4
- FOOOCUS_DIR = "Fooocus"
5
-
6
- def run(cmd):
7
- subprocess.run(cmd, shell=True, check=True)
8
-
9
- # Clone Fooocus only if it doesn't exist (VERY IMPORTANT)
10
- if not os.path.exists(FOOOCUS_DIR):
11
- run("git clone https://github.com/lllyasviel/Fooocus.git")
12
-
13
- os.chdir(FOOOCUS_DIR)
14
-
15
- # Install dependencies once
16
- if not os.path.exists(".installed"):
17
- run("pip install -r requirements_versions.txt")
18
- open(".installed", "w").close()
19
-
20
- # Launch Fooocus
21
- run("python entry_with_update.py --listen 0.0.0.0 --port 7860")