Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -125,8 +125,8 @@ def chat(system_prompt, user_text, audio_file, history, max_tokens, temperature,
|
|
| 125 |
"temperature": temperature,
|
| 126 |
"top_p": top_p,
|
| 127 |
"stream": True,
|
| 128 |
-
"repetition_penalty"
|
| 129 |
-
"stop_token_ids"
|
| 130 |
})
|
| 131 |
|
| 132 |
if response.status_code != 200:
|
|
|
|
| 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:
|