moevis commited on
Commit
a21bd50
·
verified ·
1 Parent(s): 347c07a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -124,7 +124,9 @@ def chat(system_prompt, user_text, audio_file, history, max_tokens, temperature,
124
  "max_tokens": max_tokens,
125
  "temperature": temperature,
126
  "top_p": top_p,
127
- "stream": True
 
 
128
  })
129
 
130
  if response.status_code != 200:
 
124
  "max_tokens": max_tokens,
125
  "temperature": temperature,
126
  "top_p": top_p,
127
+ "stream": True,
128
+ "repetition_penalty"=1.07,
129
+ "stop_token_ids"=[151665]
130
  })
131
 
132
  if response.status_code != 200: