Namitg02 commited on
Commit
4aa5088
·
verified ·
1 Parent(s): 7f8eec1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -124,7 +124,8 @@ def talk(prompt, history):
124
  # historylog += f"<s>[INST] {user_message} [/INST] {bot_message} </s>"
125
  historylog += f"<s> {prompt} \n {response} </s>"
126
  print("history log")
127
- print(historylog)
 
128
  with open('file.txt','w+') as data:
129
  data.write(str(historylog))
130
 
 
124
  # historylog += f"<s>[INST] {user_message} [/INST] {bot_message} </s>"
125
  historylog += f"<s> {prompt} \n {response} </s>"
126
  print("history log")
127
+ print(str(historylog))
128
+ print("history log printed")
129
  with open('file.txt','w+') as data:
130
  data.write(str(historylog))
131