mgreg555 commited on
Commit
61deff8
·
verified ·
1 Parent(s): c1bc9db

Update app.py

Browse files

repo_type="space",

Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -103,6 +103,7 @@ def write_to_file(file_name, value):
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
 
 
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