Spaces:
Runtime error
Runtime error
noumanjavaid
commited on
Update app.py
Browse files
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
|
215 |
-
max_tokens=
|
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
|