JanPf commited on
Commit
ede7ab2
·
verified ·
1 Parent(s): f54aeb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -46,6 +46,7 @@ def chat_stream_completion(message, history):
46
 
47
  response = llm.create_chat_completion(
48
  messages=messages_prompts,
 
49
  stream=True,
50
  stop=["<|im_end|>"]
51
  )
 
46
 
47
  response = llm.create_chat_completion(
48
  messages=messages_prompts,
49
+ repeat_penalty=1.1,
50
  stream=True,
51
  stop=["<|im_end|>"]
52
  )