LikoKIko commited on
Commit
fe5233f
·
verified ·
1 Parent(s): 7f1fc97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
7
  # constants
8
  KModelId = "LikoKIko/OpenCensor-H1-Mini"
9
  KMaxLen = 256
10
- KThreshold = 0.17
11
  KDevice = "cuda" if torch.cuda.is_available() else "cpu"
12
  torch.set_num_threads(max(1, os.cpu_count() or 1))
13
 
 
7
  # constants
8
  KModelId = "LikoKIko/OpenCensor-H1-Mini"
9
  KMaxLen = 256
10
+ KThreshold = 0.75
11
  KDevice = "cuda" if torch.cuda.is_available() else "cpu"
12
  torch.set_num_threads(max(1, os.cpu_count() or 1))
13