ianfe commited on
Commit
3cd9d3d
·
verified ·
1 Parent(s): efbfa4c

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -114,7 +114,7 @@ class EndpointHandler():
114
  elapsed = time.perf_counter() - start
115
  print(f"Model loaded in {elapsed:.2f}s")
116
  self.tokenizer = BertTokenizer.from_pretrained("bert-base-uncased")
117
- self.labels = ["High", "Low", "Medium", "UNKNOWN"] # Update based on your dataset
118
  print("Compiling model...")
119
  start = time.perf_counter()
120
  self.model.compile()
 
114
  elapsed = time.perf_counter() - start
115
  print(f"Model loaded in {elapsed:.2f}s")
116
  self.tokenizer = BertTokenizer.from_pretrained("bert-base-uncased")
117
+ self.labels = ["High", "Latent", "Medium", "None"] # Update based on your dataset
118
  print("Compiling model...")
119
  start = time.perf_counter()
120
  self.model.compile()