Namitg02 commited on
Commit
2972018
·
verified ·
1 Parent(s): 3c33f8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -119,9 +119,9 @@ def talk(prompt, history):
119
 
120
  try:
121
  # write data to file
122
- with open("file.txt", "a") as data:
123
  data.write(historylog)
124
- data = open("file.txt", "r")
125
  data.seek(0)
126
  # Read the contents of the file to display it.
127
  print("History log printed:")
 
119
 
120
  try:
121
  # write data to file
122
+ with open("./file.txt", "a") as data:
123
  data.write(historylog)
124
+ data = open("./file.txt", "r")
125
  data.seek(0)
126
  # Read the contents of the file to display it.
127
  print("History log printed:")