Gulzd commited on
Commit
8347edb
·
1 Parent(s): 17d864b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import numpy as np
6
 
7
 
8
  def predict(text):
9
- model_path = "/content/drive/MyDrive/bert_model"
10
  model = ClassificationModel('bert', model_path, use_cuda=False)
11
  prediction, _ = model.predict([text])
12
  return result_predict(prediction[0])
 
6
 
7
 
8
  def predict(text):
9
+ model_path = "bert_model"
10
  model = ClassificationModel('bert', model_path, use_cuda=False)
11
  prediction, _ = model.predict([text])
12
  return result_predict(prediction[0])