peterpull commited on
Commit
4fc77f5
·
1 Parent(s): 9c95eb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def store_message(chatinput: str, chatresponse: str):
49
 
50
  repo.commit('Update data.txt')
51
  print("Committed changes to local repository")
52
- repo.push()
53
  print("Pushed changes to remote repository")
54
 
55
  return generate_text()
 
49
 
50
  repo.commit('Update data.txt')
51
  print("Committed changes to local repository")
52
+ repo.commit_and_push('Update data.txt')
53
  print("Pushed changes to remote repository")
54
 
55
  return generate_text()