Tonic commited on
Commit
b81f1bb
1 Parent(s): 0915898

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ model.generation_config = GenerationConfig.from_pretrained(model_name, trust_rem
15
 
16
  device = "cuda" if torch.cuda.is_available() else "cpu"
17
  model.to(device)
18
- # task_history = []
19
 
20
  BOX_TAG_PATTERN = r"<box>([\s\S]*?)</box>"
21
  PUNCTUATION = "!?。"#$%&'()*+,-/:;<=>@[\]^_`{|}~⦅⦆「」、、〃》「」『』&#8203;``【oaicite:0】``&#8203;〔〕〖〗〘〙〚〛〜〝〞〟〰〾〿–—‘’‛“”„‟…‧﹏."
 
15
 
16
  device = "cuda" if torch.cuda.is_available() else "cpu"
17
  model.to(device)
18
+ task_history = []
19
 
20
  BOX_TAG_PATTERN = r"<box>([\s\S]*?)</box>"
21
  PUNCTUATION = "!?。"#$%&'()*+,-/:;<=>@[\]^_`{|}~⦅⦆「」、、〃》「」『』&#8203;``【oaicite:0】``&#8203;〔〕〖〗〘〙〚〛〜〝〞〟〰〾〿–—‘’‛“”„‟…‧﹏."