Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -114,7 +114,7 @@ def parse_tool_call(text, request_token="<request>", call_token="<call>"):
|
|
| 114 |
def generate(
|
| 115 |
prompt, system_prompt, version, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0,
|
| 116 |
):
|
| 117 |
-
client, tools, _ = clients[version]
|
| 118 |
temperature = float(temperature)
|
| 119 |
if temperature < 1e-2:
|
| 120 |
temperature = 1e-2
|
|
|
|
| 114 |
def generate(
|
| 115 |
prompt, system_prompt, version, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0,
|
| 116 |
):
|
| 117 |
+
client, tools, _, _ = clients[version]
|
| 118 |
temperature = float(temperature)
|
| 119 |
if temperature < 1e-2:
|
| 120 |
temperature = 1e-2
|