Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,6 @@ def respond1(
|
|
| 45 |
for message in client.chat_completion(
|
| 46 |
messages,
|
| 47 |
max_tokens=max_tokens,
|
| 48 |
-
stream=True,
|
| 49 |
temperature=temperature,
|
| 50 |
top_p=top_p,
|
| 51 |
):
|
|
@@ -80,7 +79,6 @@ def respond5(
|
|
| 80 |
for message in client.chat_completion(
|
| 81 |
messages,
|
| 82 |
max_tokens=max_tokens,
|
| 83 |
-
stream=True,
|
| 84 |
temperature=temperature,
|
| 85 |
top_p=top_p,
|
| 86 |
):
|
|
@@ -111,7 +109,6 @@ def respond4(
|
|
| 111 |
for message in client.chat_completion(
|
| 112 |
messages,
|
| 113 |
max_tokens=max_tokens,
|
| 114 |
-
stream=True,
|
| 115 |
temperature=temperature,
|
| 116 |
top_p=top_p,
|
| 117 |
):
|
|
@@ -271,7 +268,6 @@ def respond2(
|
|
| 271 |
for message in client.chat_completion(
|
| 272 |
messages,
|
| 273 |
max_tokens=max_tokens,
|
| 274 |
-
stream=True,
|
| 275 |
temperature=temperature,
|
| 276 |
top_p=top_p,
|
| 277 |
):
|
|
@@ -302,7 +298,6 @@ def respond3(
|
|
| 302 |
for message in client.chat_completion(
|
| 303 |
messages,
|
| 304 |
max_tokens=max_tokens,
|
| 305 |
-
stream=True,
|
| 306 |
temperature=temperature,
|
| 307 |
top_p=top_p,
|
| 308 |
):
|
|
|
|
| 45 |
for message in client.chat_completion(
|
| 46 |
messages,
|
| 47 |
max_tokens=max_tokens,
|
|
|
|
| 48 |
temperature=temperature,
|
| 49 |
top_p=top_p,
|
| 50 |
):
|
|
|
|
| 79 |
for message in client.chat_completion(
|
| 80 |
messages,
|
| 81 |
max_tokens=max_tokens,
|
|
|
|
| 82 |
temperature=temperature,
|
| 83 |
top_p=top_p,
|
| 84 |
):
|
|
|
|
| 109 |
for message in client.chat_completion(
|
| 110 |
messages,
|
| 111 |
max_tokens=max_tokens,
|
|
|
|
| 112 |
temperature=temperature,
|
| 113 |
top_p=top_p,
|
| 114 |
):
|
|
|
|
| 268 |
for message in client.chat_completion(
|
| 269 |
messages,
|
| 270 |
max_tokens=max_tokens,
|
|
|
|
| 271 |
temperature=temperature,
|
| 272 |
top_p=top_p,
|
| 273 |
):
|
|
|
|
| 298 |
for message in client.chat_completion(
|
| 299 |
messages,
|
| 300 |
max_tokens=max_tokens,
|
|
|
|
| 301 |
temperature=temperature,
|
| 302 |
top_p=top_p,
|
| 303 |
):
|