Rahatara commited on
Commit
2da4ee3
1 Parent(s): 1ecdf62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -77,10 +77,10 @@ def respond(
77
  response = ""
78
  for message in client.chat_completion(
79
  messages,
80
- max_tokens=max_tokens,
81
  stream=True,
82
- temperature=temperature,
83
- top_p=top_p,
84
  ):
85
  token = message.choices[0].delta.content
86
  response += token
 
77
  response = ""
78
  for message in client.chat_completion(
79
  messages,
80
+ max_tokens=1000,
81
  stream=True,
82
+ temperature=0.95,
83
+ top_p=0.7,
84
  ):
85
  token = message.choices[0].delta.content
86
  response += token