Spaces:
Running
Running
broadfield
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -183,7 +183,7 @@ def parse_json(inp):
|
|
183 |
return out1,out2
|
184 |
def build_space(repo_name,file_name,file_content,access_token=""):
|
185 |
try:
|
186 |
-
repo_path=user_+str(
|
187 |
if not access_token:access_token=os.environ['HF_TOKEN']
|
188 |
|
189 |
api=HfApi(endpoint="https://huggingface.co", token=access_token)
|
|
|
183 |
return out1,out2
|
184 |
def build_space(repo_name,file_name,file_content,access_token=""):
|
185 |
try:
|
186 |
+
repo_path=user_+str(repo_)
|
187 |
if not access_token:access_token=os.environ['HF_TOKEN']
|
188 |
|
189 |
api=HfApi(endpoint="https://huggingface.co", token=access_token)
|