noumanjavaid commited on
Commit
9e6746e
·
verified ·
1 Parent(s): a9c4879

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -211,8 +211,8 @@ class AdvancedGrokChatApp:
211
  response = self.client.chat.completions.create(
212
  model="grok-beta",
213
  messages=conversation,
214
- temperature=0.7,
215
- max_tokens=300
216
  )
217
 
218
  return response.choices[0].message.content
 
211
  response = self.client.chat.completions.create(
212
  model="grok-beta",
213
  messages=conversation,
214
+ temperature=0,
215
+ max_tokens=4096
216
  )
217
 
218
  return response.choices[0].message.content