Spaces:
Sleeping
Sleeping
Tuchuanhuhuhu
commited on
Commit
•
6c3ae1a
1
Parent(s):
b522942
不再打印token count提示
Browse files
modules/models/base_model.py
CHANGED
@@ -123,7 +123,7 @@ class BaseLLMModel:
|
|
123 |
|
124 |
def count_token(self, user_input):
|
125 |
"""get token count from input, implement if needed"""
|
126 |
-
logging.warning("token count not implemented, using default")
|
127 |
return len(user_input)
|
128 |
|
129 |
def stream_next_chatbot(self, inputs, chatbot, fake_input=None, display_append=""):
|
|
|
123 |
|
124 |
def count_token(self, user_input):
|
125 |
"""get token count from input, implement if needed"""
|
126 |
+
# logging.warning("token count not implemented, using default")
|
127 |
return len(user_input)
|
128 |
|
129 |
def stream_next_chatbot(self, inputs, chatbot, fake_input=None, display_append=""):
|