krplatz commited on
Commit
948e8bf
1 Parent(s): 7d810d6

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
2
  import torch
3
 
4
- class Gemma2Handler:
5
  def __init__(self, model_dir):
6
  # Load the tokenizer
7
  self.tokenizer = AutoTokenizer.from_pretrained(model_dir)
 
1
  from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
2
  import torch
3
 
4
+ class EndpointHandler:
5
  def __init__(self, model_dir):
6
  # Load the tokenizer
7
  self.tokenizer = AutoTokenizer.from_pretrained(model_dir)