broadfield commited on
Commit
6eab53f
·
verified ·
1 Parent(s): 57ca456

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(repo_name)
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)