broadfield commited on
Commit
c57b6f7
·
verified ·
1 Parent(s): 2fc1883

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -160,7 +160,7 @@ def build_space(repo_name,file_name,file_content,access_token=""):
160
  print("File uploaded successfully.")
161
  # Commit changes
162
  commit_message += "\nInitial commit to the repository."+ local_file_path
163
- api.commit_repo(space_id, message=commit_message)
164
  return [{'role':'assistant','content': commit_message+'\nCommit Success' }]
165
  except Exception as e:
166
  print("ERROR ",e)
 
160
  print("File uploaded successfully.")
161
  # Commit changes
162
  commit_message += "\nInitial commit to the repository."+ local_file_path
163
+ #api.commit_repo(space_id, message=commit_message)
164
  return [{'role':'assistant','content': commit_message+'\nCommit Success' }]
165
  except Exception as e:
166
  print("ERROR ",e)