Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ BOX_TAG_PATTERN = r"<box>([\s\S]*?)</box>"
|
|
27 |
PUNCTUATION = "!?。"#$%&'()*+,-/:;<=>@[\]^_`{|}~⦅⦆「」、、〃》「」『』​``【oaicite:0】``​〔〕〖〗〘〙〚〛〜〝〞〟〰〾〿–—‘’‛“”„‟…‧﹏."
|
28 |
|
29 |
class ChatBot:
|
30 |
-
def __init__(self):
|
31 |
self.tokenizer = tokenizer
|
32 |
self.model = model
|
33 |
self.history = []
|
|
|
27 |
PUNCTUATION = "!?。"#$%&'()*+,-/:;<=>@[\]^_`{|}~⦅⦆「」、、〃》「」『』​``【oaicite:0】``​〔〕〖〗〘〙〚〛〜〝〞〟〰〾〿–—‘’‛“”„‟…‧﹏."
|
28 |
|
29 |
class ChatBot:
|
30 |
+
def __init__(self, tokenizer, model):
|
31 |
self.tokenizer = tokenizer
|
32 |
self.model = model
|
33 |
self.history = []
|