Update app.py
Browse files
app.py
CHANGED
|
@@ -102,8 +102,7 @@ def write_to_file(file_name, value):
|
|
| 102 |
# Upload the file using its path
|
| 103 |
api.upload_file(
|
| 104 |
path_or_fileobj=file_name, # Use the file path instead of the file object
|
| 105 |
-
repo_id="
|
| 106 |
-
repo_type="space",
|
| 107 |
path_in_repo=file_name # Ensure this matches the file name if you want to keep the same name in the repo
|
| 108 |
)
|
| 109 |
|
|
|
|
| 102 |
# Upload the file using its path
|
| 103 |
api.upload_file(
|
| 104 |
path_or_fileobj=file_name, # Use the file path instead of the file object
|
| 105 |
+
repo_id="mgreg555/docs_chat",
|
|
|
|
| 106 |
path_in_repo=file_name # Ensure this matches the file name if you want to keep the same name in the repo
|
| 107 |
)
|
| 108 |
|