Update app.py
Browse files
app.py
CHANGED
@@ -77,10 +77,10 @@ def respond(
|
|
77 |
response = ""
|
78 |
for message in client.chat_completion(
|
79 |
messages,
|
80 |
-
max_tokens=
|
81 |
stream=True,
|
82 |
-
temperature=
|
83 |
-
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
|