Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ with gr.Blocks(theme=gr.themes.Monochrome(),css="footer{display:none !important}
|
|
| 29 |
user_dictionary[new_id].append({"role": "developer", "content": instructions}) # This line adds the instructions to the message history (as a developer) so it will always inhibit the instructions no matter what the user says.
|
| 30 |
|
| 31 |
# Creating a new file with the new id to save the user responses and the chat bot responses to the repository
|
| 32 |
-
repo = g.get_user().get_repo("
|
| 33 |
file_type = '.txt'
|
| 34 |
filename = str(new_id) + file_type
|
| 35 |
repo.create_file(filename, "Saving" + filename, "")
|
|
|
|
| 29 |
user_dictionary[new_id].append({"role": "developer", "content": instructions}) # This line adds the instructions to the message history (as a developer) so it will always inhibit the instructions no matter what the user says.
|
| 30 |
|
| 31 |
# Creating a new file with the new id to save the user responses and the chat bot responses to the repository
|
| 32 |
+
repo = g.get_user().get_repo("CATDATA1")
|
| 33 |
file_type = '.txt'
|
| 34 |
filename = str(new_id) + file_type
|
| 35 |
repo.create_file(filename, "Saving" + filename, "")
|