Update app.py
Browse files
app.py
CHANGED
|
@@ -122,7 +122,7 @@ def talk(prompt, history):
|
|
| 122 |
with open("./file.txt", "a") as data:
|
| 123 |
data.write(historylog)
|
| 124 |
# Read the contents of the file to display it.
|
| 125 |
-
|
| 126 |
with open("./file.txt", "r") as data:
|
| 127 |
print(data.read())
|
| 128 |
|
|
|
|
| 122 |
with open("./file.txt", "a") as data:
|
| 123 |
data.write(historylog)
|
| 124 |
# Read the contents of the file to display it.
|
| 125 |
+
print("History log printed:")
|
| 126 |
with open("./file.txt", "r") as data:
|
| 127 |
print(data.read())
|
| 128 |
|