mgreg555 commited on
Commit
c1bc9db
·
verified ·
1 Parent(s): 822f644

Update app.py

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