Spaces:
Sleeping
Sleeping
Update helper.py
Browse files
helper.py
CHANGED
@@ -18,9 +18,8 @@ def get_fn(model_name: str, **model_kwargs):
|
|
18 |
history,
|
19 |
system_prompt: str,
|
20 |
temperature: float,
|
21 |
-
top_p: float,
|
22 |
max_tokens: int,
|
23 |
-
|
24 |
):
|
25 |
try:
|
26 |
messages = []
|
|
|
18 |
history,
|
19 |
system_prompt: str,
|
20 |
temperature: float,
|
|
|
21 |
max_tokens: int,
|
22 |
+
top_p: float,
|
23 |
):
|
24 |
try:
|
25 |
messages = []
|