NeuralJunkie commited on
Commit
91df1b6
·
1 Parent(s): 851947c

Update app.py

Browse files

still trying to remove garbage responses after initial correct reply

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def chat(text):
18
  prompt=prompt,
19
  max_tokens=1024,
20
  n=1,
21
- stop=["\n"],
22
  temperature=0.7,
23
  )
24
 
 
18
  prompt=prompt,
19
  max_tokens=1024,
20
  n=1,
21
+ stop=["\n", ".", "?", "!"],
22
  temperature=0.7,
23
  )
24