ankush13r commited on
Commit
e1ee366
·
verified ·
1 Parent(s): 0de4fac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -54,8 +54,7 @@ def completion(history, model, system_prompt, tools=None):
54
  "temperature": 0.4,
55
  "frequency_penalty": 0.5,
56
  "top_p": 0.5,
57
- "top_k": 0.5,
58
- "extra_body": {"repetition_penalty": 0.5},
59
  }
60
  if tools:
61
  request_params.update({"tool_choice": "auto", "tools": tools})
 
54
  "temperature": 0.4,
55
  "frequency_penalty": 0.5,
56
  "top_p": 0.5,
57
+ "extra_body": {"repetition_penalty": 0.5, "top_k": 0.5, "top_p": 0.5},
 
58
  }
59
  if tools:
60
  request_params.update({"tool_choice": "auto", "tools": tools})