jinzhou commited on
Commit
9b413e7
·
1 Parent(s): 9f35f16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -84,8 +84,8 @@ conv = Conversation(prompt, 5)
84
 
85
  def predict(input, history=[]):
86
  history.append(input)
87
- response = conv.ask(input)
88
- # response = conv.askWithProxy(input)
89
  history.append(response)
90
  responses = [(u,b) for u,b in zip(history[::2], history[1::2])]
91
  return responses, history
 
84
 
85
  def predict(input, history=[]):
86
  history.append(input)
87
+ # response = conv.ask(input)
88
+ response = conv.askWithProxy(input)
89
  history.append(response)
90
  responses = [(u,b) for u,b in zip(history[::2], history[1::2])]
91
  return responses, history