Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -119,9 +119,9 @@ def completion(history, model, system_prompt: str, tools=None):
|
|
119 |
"messages": messages,
|
120 |
"stream": True,
|
121 |
"max_tokens": 1000,
|
122 |
-
"temperature": 0.
|
123 |
-
"frequency_penalty": 0.1,
|
124 |
-
"extra_body": {"repetition_penalty": 0.9
|
125 |
}
|
126 |
if tools:
|
127 |
request_params.update({"tool_choice": "auto", "tools": tools})
|
|
|
119 |
"messages": messages,
|
120 |
"stream": True,
|
121 |
"max_tokens": 1000,
|
122 |
+
"temperature": 0.1,
|
123 |
+
#"frequency_penalty": 0.1,
|
124 |
+
"extra_body": {}, #"repetition_penalty": 0.9
|
125 |
}
|
126 |
if tools:
|
127 |
request_params.update({"tool_choice": "auto", "tools": tools})
|