Tonic commited on
Commit
6e87da9
·
1 Parent(s): ef37f12

Update app.py

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