Update app.py
Browse files
app.py
CHANGED
|
@@ -98,8 +98,8 @@ def write_to_file(file_name, value):
|
|
| 98 |
with open(file_name, 'a', encoding='utf-8') as file:
|
| 99 |
file.write(find_previous_question(value) + ';' + str(value) + '\n')
|
| 100 |
api.upload_file(
|
| 101 |
-
path_or_fileobj=
|
| 102 |
-
path_in_repo=file_name,
|
| 103 |
repo_id="mgreg555/docs_chat",
|
| 104 |
)
|
| 105 |
|
|
|
|
| 98 |
with open(file_name, 'a', encoding='utf-8') as file:
|
| 99 |
file.write(find_previous_question(value) + ';' + str(value) + '\n')
|
| 100 |
api.upload_file(
|
| 101 |
+
path_or_fileobj=file,
|
| 102 |
+
path_in_repo="docs_chat/"+file_name,
|
| 103 |
repo_id="mgreg555/docs_chat",
|
| 104 |
)
|
| 105 |
|