cn91 commited on
Commit
9a919c2
1 Parent(s): b363777

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ if USE_GPU and torch.cuda.is_available():
11
  else:
12
  device = torch.device('cpu')
13
 
14
- MODEL_NAME_CHINESE = "IDEA-CCNL/Erlangshen-DeBERTa-v2-186M-Chinese-SentencePiece"
15
- #MODEL_NAME_CHINESE = "IDEA-CCNL/Erlangshen-DeBERTa-v2-97M-CWS-Chinese"
16
 
17
 
18
  WORD_PROBABILITY_THRESHOLD = 0.02
 
11
  else:
12
  device = torch.device('cpu')
13
 
14
+ #MODEL_NAME_CHINESE = "IDEA-CCNL/Erlangshen-DeBERTa-v2-186M-Chinese-SentencePiece"
15
+ MODEL_NAME_CHINESE = "IDEA-CCNL/Erlangshen-DeBERTa-v2-97M-CWS-Chinese"
16
 
17
 
18
  WORD_PROBABILITY_THRESHOLD = 0.02