Spaces:
Running
Running
broadfield
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -170,7 +170,7 @@ def parse_json(inp):
|
|
170 |
return out1,out2
|
171 |
def build_space(repo_name,file_name,file_content,access_token=""):
|
172 |
try:
|
173 |
-
repo_path="
|
174 |
if not access_token:access_token=os.environ['HF_TOKEN']
|
175 |
|
176 |
api=HfApi(endpoint="https://huggingface.co", token=access_token)
|
|
|
170 |
return out1,out2
|
171 |
def build_space(repo_name,file_name,file_content,access_token=""):
|
172 |
try:
|
173 |
+
repo_path="community-pool/"+repo_name
|
174 |
if not access_token:access_token=os.environ['HF_TOKEN']
|
175 |
|
176 |
api=HfApi(endpoint="https://huggingface.co", token=access_token)
|