abenkbp commited on
Commit
5048b39
·
1 Parent(s): 148fee9
Files changed (1) hide show
  1. chat.py +1 -1
chat.py CHANGED
@@ -17,7 +17,7 @@ client = InferenceClient("meta-llama/Meta-Llama-3-70B-Instruct")
17
  def chat_completion():
18
  data = request.json
19
  user_input = data.get('user_input', [])
20
- max_tokens = data.get('max_tokens', 512)
21
  temperature = data.get('temperature', 0.7)
22
  top_p = data.get('top_p', 0.95)
23
 
 
17
  def chat_completion():
18
  data = request.json
19
  user_input = data.get('user_input', [])
20
+ max_tokens = data.get('max_tokens', 2048)
21
  temperature = data.get('temperature', 0.7)
22
  top_p = data.get('top_p', 0.95)
23