preechanon commited on
Commit
5f3eef8
1 Parent(s): 7e7da2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ def tokenize(text):
101
  word_end = []
102
 
103
  y_predict = model.predict([x_char, x_type], batch_size = 512)
104
- y_predict = (y_predict.ravel() > 0.4).astype(int)
105
  word_end = y_predict[1:].tolist() + [1]
106
 
107
  tokens = []
 
101
  word_end = []
102
 
103
  y_predict = model.predict([x_char, x_type], batch_size = 512)
104
+ y_predict = (y_predict.ravel() > 0.4609375).astype(int)
105
  word_end = y_predict[1:].tolist() + [1]
106
 
107
  tokens = []