Spaces:
Sleeping
Sleeping
RaniRahbani
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -39,11 +39,11 @@ def respond(
|
|
39 |
|
40 |
for message in client.chat_completion(
|
41 |
messages,
|
42 |
-
max_tokens=max_tokens,
|
43 |
stream=True,
|
44 |
stop=["<|im_end|><|im_end|>", "<|im_end|>"],
|
45 |
-
temperature=temperature,
|
46 |
-
top_p=top_p,
|
47 |
):
|
48 |
token = message.choices[0].delta.content
|
49 |
if not token:
|
|
|
39 |
|
40 |
for message in client.chat_completion(
|
41 |
messages,
|
42 |
+
#max_tokens=max_tokens,
|
43 |
stream=True,
|
44 |
stop=["<|im_end|><|im_end|>", "<|im_end|>"],
|
45 |
+
#temperature=temperature,
|
46 |
+
#top_p=top_p,
|
47 |
):
|
48 |
token = message.choices[0].delta.content
|
49 |
if not token:
|