Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
| 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()
|