Spaces:
Runtime error
Runtime error
Update apis/chat_api.py
Browse files- apis/chat_api.py +1 -0
apis/chat_api.py
CHANGED
|
@@ -203,6 +203,7 @@ class ChatAPIApp:
|
|
| 203 |
stream_response = streamer.chat_response(
|
| 204 |
prompt=item.prompt,
|
| 205 |
**options,
|
|
|
|
| 206 |
# temperature=item.temperature,
|
| 207 |
# top_p=item.top_p,
|
| 208 |
# max_new_tokens=item.max_tokens,
|
|
|
|
| 203 |
stream_response = streamer.chat_response(
|
| 204 |
prompt=item.prompt,
|
| 205 |
**options,
|
| 206 |
+
api_key=api_key,
|
| 207 |
# temperature=item.temperature,
|
| 208 |
# top_p=item.top_p,
|
| 209 |
# max_new_tokens=item.max_tokens,
|