shivamjadhav commited on
Commit
9716ed4
·
1 Parent(s): d31e714

updated the model labels and api code

Browse files
Files changed (1) hide show
  1. classifier/Albert_latest.py +1 -1
classifier/Albert_latest.py CHANGED
@@ -33,7 +33,7 @@ class Model:
33
  return predictions[0].tolist()[:2],Labels[np.argmax(predictions)]
34
 
35
  model_instance = None
36
- model_weights = "../assets/albert_sentiment_checkpoint_58.pt"
37
 
38
  def get_model():
39
  global model_instance
 
33
  return predictions[0].tolist()[:2],Labels[np.argmax(predictions)]
34
 
35
  model_instance = None
36
+ model_weights = "assets/albert_sentiment_checkpoint_58.pt"
37
 
38
  def get_model():
39
  global model_instance