Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files- imcui/ui/app_class.py +4 -3
imcui/ui/app_class.py
CHANGED
@@ -23,10 +23,11 @@ import os
|
|
23 |
# GITHUB_TOKEN = os.environ.get('GITHUB_TOKEN')
|
24 |
# GOOGLE_TOKEN = os.environ.get('GOOGLE_TOKEN')
|
25 |
GOOGLE_TOKEN = "12L3g9-w8rR9K2L4rYaGaDJ7NqX1D713d"
|
26 |
-
|
27 |
-
|
|
|
28 |
# os.system(f"cd {str(Path(__file__).parent / '../third_party')} && git clone https://{GITHUB_TOKEN}@github.com/hxy-123/MatchAnything_HF.git && mv MatchAnything_HF MatchAnything && cd MatchAnything && gdown {GOOGLE_TOKEN} && unzip weights.zip")
|
29 |
-
os.system(f"cd {str(Path(__file__).parent / '../third_party')} && cd MatchAnything && gdown {GOOGLE_TOKEN} && unzip weights.zip")
|
30 |
|
31 |
DESCRIPTION = '''
|
32 |
<center><b><font size='10'><font color='78aa58'>Match</font><font color='6589bf'>Anything</font></font></b></center>
|
|
|
23 |
# GITHUB_TOKEN = os.environ.get('GITHUB_TOKEN')
|
24 |
# GOOGLE_TOKEN = os.environ.get('GOOGLE_TOKEN')
|
25 |
GOOGLE_TOKEN = "12L3g9-w8rR9K2L4rYaGaDJ7NqX1D713d"
|
26 |
+
os.system(f"cd {str(Path(__file__).parent / '../third_party')} && cd MatchAnything && gdown {GOOGLE_TOKEN} && unzip weights.zip")
|
27 |
+
# if not (Path(__file__).parent / "../third_party/MatchAnything").exists():
|
28 |
+
# print("**********************************")
|
29 |
# os.system(f"cd {str(Path(__file__).parent / '../third_party')} && git clone https://{GITHUB_TOKEN}@github.com/hxy-123/MatchAnything_HF.git && mv MatchAnything_HF MatchAnything && cd MatchAnything && gdown {GOOGLE_TOKEN} && unzip weights.zip")
|
30 |
+
# os.system(f"cd {str(Path(__file__).parent / '../third_party')} && cd MatchAnything && gdown {GOOGLE_TOKEN} && unzip weights.zip")
|
31 |
|
32 |
DESCRIPTION = '''
|
33 |
<center><b><font size='10'><font color='78aa58'>Match</font><font color='6589bf'>Anything</font></font></b></center>
|