lvwerra HF staff commited on
Commit
4b21286
·
1 Parent(s): 97c8c1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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