Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -66,8 +66,8 @@ def completion(history, model, system_prompt: str, tools=None):
|
|
66 |
"messages": messages,
|
67 |
"stream": True,
|
68 |
"max_tokens": 1000,
|
69 |
-
"temperature": 0.
|
70 |
-
"frequency_penalty": 1.
|
71 |
"extra_body": {"repetition_penalty": 1.2},
|
72 |
}
|
73 |
if tools:
|
|
|
66 |
"messages": messages,
|
67 |
"stream": True,
|
68 |
"max_tokens": 1000,
|
69 |
+
"temperature": 0.001,
|
70 |
+
"frequency_penalty": 1.0,
|
71 |
"extra_body": {"repetition_penalty": 1.2},
|
72 |
}
|
73 |
if tools:
|