Spaces:
Sleeping
Sleeping
Commit
•
3d7d7f3
1
Parent(s):
a9fbba5
fixed errors
Browse files
middlewares/chat_client.py
CHANGED
@@ -45,7 +45,7 @@ def chat(session_state, query, config):
|
|
45 |
chat_client = chat_bot_dict[session_state.chat_bot]
|
46 |
temperature = session_state.temp
|
47 |
max_new_tokens = session_state.max_tokens
|
48 |
-
|
49 |
history = session_state.history
|
50 |
|
51 |
|
|
|
45 |
chat_client = chat_bot_dict[session_state.chat_bot]
|
46 |
temperature = session_state.temp
|
47 |
max_new_tokens = session_state.max_tokens
|
48 |
+
repetion_penalty = session_state.repetion_penalty
|
49 |
history = session_state.history
|
50 |
|
51 |
|