t5 commited on
Commit
1e53e30
·
1 Parent(s): 3d3998b
Files changed (1) hide show
  1. neo server.py +2 -1
neo server.py CHANGED
@@ -8,7 +8,8 @@ def repo_clone(url, dir, branch=None):
8
  subprocess.run([b'\x67\x69\x74'.decode(), b'\x63\x6C\x6F\x6E\x65'.decode(), url, dir], check=True)
9
  if branch:
10
  subprocess.run(["git", "checkout", branch], cwd=dir, check=True)
11
- ##if os.path.isdir
 
12
  face="1000"
13
  ##face="face"
14
  if os.environ.get("SPACE_HOST"): face="face"
 
8
  subprocess.run([b'\x67\x69\x74'.decode(), b'\x63\x6C\x6F\x6E\x65'.decode(), url, dir], check=True)
9
  if branch:
10
  subprocess.run(["git", "checkout", branch], cwd=dir, check=True)
11
+ if os.path.isdir(f:="ciph"): repo_clone("https://huggingface.co/spaces/compileprincess/ciph")
12
+ #
13
  face="1000"
14
  ##face="face"
15
  if os.environ.get("SPACE_HOST"): face="face"