YC-Chen commited on
Commit
6fce2df
1 Parent(s): d121e4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ with gr.Blocks() as demo:
150
  history[-1][1] = history[-1][1][:-4]
151
  yield history
152
 
153
- print('== Record == Query: {query}\n{response}'.format(query=repr(message), response=repr(history[-1][1])))
154
 
155
  msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
156
  fn=bot,
 
150
  history[-1][1] = history[-1][1][:-4]
151
  yield history
152
 
153
+ print('== Record ==\nQuery: {query}\nResponse: {response}'.format(query=repr(message), response=repr(history[-1][1])))
154
 
155
  msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
156
  fn=bot,