ysharma HF Staff commited on
Commit
8c10c91
·
1 Parent(s): aa9cb91

update bug fix

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -81,14 +81,14 @@ def upload_files_to_space(repo_link, hf_token):
81
  api.upload_file(
82
  path_or_fileobj = "template/app.py",
83
  path_in_repo = "app.py",
84
- repo_id = f'LangChain_{repo_name}Bot' #model_id,
85
  token = hf_token,
86
  repo_type="space",)
87
  #Uploading the new search_index file to the new space
88
  api.upload_file(
89
  path_or_fileobj = "search_index.pickle",
90
  path_in_repo = "search_index.pickle",
91
- repo_id = f'LangChain_{repo_name}Bot' #model_id,
92
  token = hf_token,
93
  repo_type="space",)
94
  #Upload requirements.txt to the space
 
81
  api.upload_file(
82
  path_or_fileobj = "template/app.py",
83
  path_in_repo = "app.py",
84
+ repo_id = f'LangChain_{repo_name}Bot', #model_id,
85
  token = hf_token,
86
  repo_type="space",)
87
  #Uploading the new search_index file to the new space
88
  api.upload_file(
89
  path_or_fileobj = "search_index.pickle",
90
  path_in_repo = "search_index.pickle",
91
+ repo_id = f'LangChain_{repo_name}Bot', #model_id,
92
  token = hf_token,
93
  repo_type="space",)
94
  #Upload requirements.txt to the space