artificialguybr commited on
Commit
73f07d6
1 Parent(s): a2adb84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen-VL-Chat-Int4", trust_remote
13
  model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen-VL-Chat-Int4", device_map="auto", trust_remote_code=True).eval()
14
 
15
  BOX_TAG_PATTERN = r"<box>([\s\S]*?)</box>"
16
- PUNCTUATION = "!?。"#$%&'()*+,-/:;<=>@[\]^_`{|}~⦅⦆「」、、〃》「」『』&#8203;``oaicite:{"number":1,"invalid_reason":"Malformed citation 【】"}``&#8203;〔〕〖〗〘〙〚〛〜〝〞〟〰〾〿–—‘’‛“”„‟…‧﹏."
17
 
18
  def _parse_text(text):
19
  lines = text.split("\n")
 
13
  model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen-VL-Chat-Int4", device_map="auto", trust_remote_code=True).eval()
14
 
15
  BOX_TAG_PATTERN = r"<box>([\s\S]*?)</box>"
16
+ PUNCTUATION = "!?。"#$%&'()*+,-/:;<=>@[\]^_`{|}~⦅⦆「」、、〃》「」『』【】〔〕〖〗〘〙〚〛〜〝〞〟〰〾〿–—‘’‛“”„‟…‧﹏."
17
 
18
  def _parse_text(text):
19
  lines = text.split("\n")