Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,13 +54,7 @@ def store_message(chatinput: str, chatresponse: str):
|
|
| 54 |
print(f"Wrote to datafile: {datetime.now()},{chatinput},{chatresponse}\n")
|
| 55 |
|
| 56 |
#need to find a way to push back to dataset repo
|
| 57 |
-
|
| 58 |
-
repo.add(DATA_FILE)
|
| 59 |
-
|
| 60 |
-
# commit your changes with an appropriate commit message
|
| 61 |
-
commit_message = 'Add my file'
|
| 62 |
-
repo.commit(commit_message)
|
| 63 |
-
|
| 64 |
# push your changes to the remote repository
|
| 65 |
repo.push_to_hub(access_token=WRITE_TOKEN)
|
| 66 |
|
|
|
|
| 54 |
print(f"Wrote to datafile: {datetime.now()},{chatinput},{chatresponse}\n")
|
| 55 |
|
| 56 |
#need to find a way to push back to dataset repo
|
| 57 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
# push your changes to the remote repository
|
| 59 |
repo.push_to_hub(access_token=WRITE_TOKEN)
|
| 60 |
|