arthrod commited on
Commit
f846345
1 Parent(s): 447768c

Rename filehandler.py to handler.py

Browse files
Files changed (1) hide show
  1. filehandler.py → handler.py +2 -2
filehandler.py → handler.py RENAMED
@@ -1,6 +1,6 @@
1
  from transformers import AutoModelForCausalLM, AutoTokenizer
2
 
3
- class FileHandler:
4
  def __init__(self, model_path):
5
  self.model_path = model_path
6
  self.tokenizer = AutoTokenizer.from_pretrained(model_path)
@@ -38,4 +38,4 @@ class FileHandler:
38
 
39
  return response
40
 
41
- handler = FileHandler(".")
 
1
  from transformers import AutoModelForCausalLM, AutoTokenizer
2
 
3
+ class Handler:
4
  def __init__(self, model_path):
5
  self.model_path = model_path
6
  self.tokenizer = AutoTokenizer.from_pretrained(model_path)
 
38
 
39
  return response
40
 
41
+ handler = Handler(".")