ankush13r commited on
Commit
c7d4d6b
·
verified ·
1 Parent(s): 88664bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +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
- "extra_body": {"repetition_penalty": 0.5, "top_k": 8},
58
  }
59
  if tools:
60
  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},
58
  }
59
  if tools:
60
  request_params.update({"tool_choice": "auto", "tools": tools})