nightfury commited on
Commit
27f76ed
1 Parent(s): 63bcbdd

Update app_t.py

Browse files
Files changed (1) hide show
  1. app_t.py +8 -8
app_t.py CHANGED
@@ -1,4 +1,3 @@
1
- """
2
  import os
3
  import shutil
4
  from os import path
@@ -37,7 +36,6 @@ def main():
37
 
38
  if __name__=="__main__":
39
  main()
40
- """
41
 
42
  #import gradio as gr
43
  #import git
@@ -50,7 +48,7 @@ if __name__=="__main__":
50
  #from pathlib import Path
51
  #print('working path', Path.cwd())
52
 
53
- #git.Git(path).clone("https://github.com/ThereforeGames/txt2mask.git")
54
 
55
 
56
 
@@ -78,7 +76,7 @@ if __name__=="__main__":
78
  import time
79
  import git
80
 
81
- git.Git("./clipseg").clone("https://github.com/ThereforeGames/txt2mask.git")
82
  """
83
  #from git import RemoteProgress
84
 
@@ -89,10 +87,11 @@ git.Git("./clipseg").clone("https://github.com/ThereforeGames/txt2mask.git")
89
 
90
  #git_root='home/user/app/clipseg1'
91
  #print('Cloning into %s' % git_root)
92
- #git.Repo.clone_from('https://github.com/ThereforeGames/txt2mask.git', git_root,
93
  # branch='master', progress=CloneProgress())
94
 
95
  #-------------
 
96
  import sys
97
  import os
98
 
@@ -101,9 +100,10 @@ zf = ZipFile('clipseg-master.zip', 'r')
101
  zf.extractall('./clipseg')
102
  zf.close()
103
 
104
- path = "./clipseg1"
105
- clone = "git clone https://github.com/ThereforeGames/txt2mask.git"
106
 
107
- os.system("sshpass -p Hugg@face12 ssh nightfury@localhost")
108
  os.chdir(path) # Specifying the path where the cloned project needs to be copied
109
  os.system(clone) # Cloning
 
 
 
1
  import os
2
  import shutil
3
  from os import path
 
36
 
37
  if __name__=="__main__":
38
  main()
 
39
 
40
  #import gradio as gr
41
  #import git
 
48
  #from pathlib import Path
49
  #print('working path', Path.cwd())
50
 
51
+ #git.Git(path).clone("https://github.com/git")
52
 
53
 
54
 
 
76
  import time
77
  import git
78
 
79
+ git.Git("./clipseg").clone("https://github.com/git")
80
  """
81
  #from git import RemoteProgress
82
 
 
87
 
88
  #git_root='home/user/app/clipseg1'
89
  #print('Cloning into %s' % git_root)
90
+ #git.Repo.clone_from('https://github.com/git', git_root,
91
  # branch='master', progress=CloneProgress())
92
 
93
  #-------------
94
+ """
95
  import sys
96
  import os
97
 
 
100
  zf.extractall('./clipseg')
101
  zf.close()
102
 
103
+ path = "./clipseg"
104
+ clone = "git clone https://github.com/git"
105
 
106
+ os.system("sshpass -p password ssh nightfury@localhost")
107
  os.chdir(path) # Specifying the path where the cloned project needs to be copied
108
  os.system(clone) # Cloning
109
+ """