shaunkhoo commited on
Commit
d8fdbcd
1 Parent(s): 97f9a3c

fix: correct typo

Browse files
Files changed (1) hide show
  1. inference.py +1 -1
inference.py CHANGED
@@ -51,7 +51,7 @@ def predict(batch_text):
51
  for category, details in config['classifier'].items():
52
 
53
  # Download the classifier from HuggingFace hub
54
- local_model_fp = hf_hub_download(repo_id = repo_path, filename = config['classifer'][category]['model_fp'])
55
 
56
  # Run the inference
57
  session = rt.InferenceSession(local_model_fp)
 
51
  for category, details in config['classifier'].items():
52
 
53
  # Download the classifier from HuggingFace hub
54
+ local_model_fp = hf_hub_download(repo_id = repo_path, filename = config['classifier'][category]['model_fp'])
55
 
56
  # Run the inference
57
  session = rt.InferenceSession(local_model_fp)