Spaces:
Runtime error
Runtime error
update fun defn
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def create_search_index(repo_link, openai_api_key):
|
|
| 64 |
pickle.dump(search_index, f)
|
| 65 |
return "search_index.pickle"
|
| 66 |
|
| 67 |
-
def upload_files_to_space(repo_link, hf_token)
|
| 68 |
print("***********INSIDE UPLOAD FILES TO SPACE***************")
|
| 69 |
repo_name = repo_link.split('/')[-1]
|
| 70 |
#Replacing the repo namein app.py
|
|
|
|
| 64 |
pickle.dump(search_index, f)
|
| 65 |
return "search_index.pickle"
|
| 66 |
|
| 67 |
+
def upload_files_to_space(repo_link, hf_token):
|
| 68 |
print("***********INSIDE UPLOAD FILES TO SPACE***************")
|
| 69 |
repo_name = repo_link.split('/')[-1]
|
| 70 |
#Replacing the repo namein app.py
|