Wootang01 commited on
Commit
31d6505
1 Parent(s): 9e0bc97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def predict(input, history=[]):
19
  top_p=1,
20
  frequency_penalty=0,
21
  presence_penalty=0.6,
22
- #stop=[" Human:", " AI:"])
23
  # tokenize the new input sentence
24
  response2 = response["choices"][0]["text"]
25
  history.append((input, response2))
 
19
  top_p=1,
20
  frequency_penalty=0,
21
  presence_penalty=0.6,
22
+ stop=[" Human:", " AI:"])
23
  # tokenize the new input sentence
24
  response2 = response["choices"][0]["text"]
25
  history.append((input, response2))