mgreg555 commited on
Commit
23445d5
·
verified ·
1 Parent(s): a53bc7d

Update app.py

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