Namitg02 commited on
Commit
2fd9c03
·
verified ·
1 Parent(s): b4ca68d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -122,6 +122,7 @@ def talk(prompt, history):
122
  global historylog
123
  for user_message, bot_message in history[0:]:
124
  historylog += f"<s>[INST] {user_message} [/INST] {bot_message} </s>"
 
125
  print(historylog)
126
  with open('file.txt','w+') as data:
127
  data.write(str(historylog))
 
122
  global historylog
123
  for user_message, bot_message in history[0:]:
124
  historylog += f"<s>[INST] {user_message} [/INST] {bot_message} </s>"
125
+ print("history log")
126
  print(historylog)
127
  with open('file.txt','w+') as data:
128
  data.write(str(historylog))