Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -79,8 +79,9 @@ Only produce the summary after fully reading and understanding the input text.
|
|
79 |
"stream": False,
|
80 |
"max_tokens": 1000,
|
81 |
"temperature": 0.2,
|
82 |
-
|
83 |
-
"
|
|
|
84 |
}
|
85 |
|
86 |
return client.chat.completions.create(**request_params)
|
|
|
79 |
"stream": False,
|
80 |
"max_tokens": 1000,
|
81 |
"temperature": 0.2,
|
82 |
+
"presence_penalty": 0.2
|
83 |
+
"frequency_penalty": 0.2,
|
84 |
+
"extra_body": {"repetition_penalty": 0.7},
|
85 |
}
|
86 |
|
87 |
return client.chat.completions.create(**request_params)
|