Spaces:
Sleeping
Sleeping
Added temperature and top p
Browse files
app.py
CHANGED
|
@@ -15,7 +15,9 @@ def respond(message, history):
|
|
| 15 |
|
| 16 |
response = client.chat_completion(
|
| 17 |
messages,
|
| 18 |
-
max_tokens =
|
|
|
|
|
|
|
| 19 |
#change the length
|
| 20 |
)
|
| 21 |
|
|
|
|
| 15 |
|
| 16 |
response = client.chat_completion(
|
| 17 |
messages,
|
| 18 |
+
max_tokens = 150
|
| 19 |
+
temperature= 0
|
| 20 |
+
top_p= .9
|
| 21 |
#change the length
|
| 22 |
)
|
| 23 |
|