cephcyn commited on
Commit
a872063
·
verified ·
1 Parent(s): 59d7881

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -1,4 +1,5 @@
1
  from typing import Dict, List, Any
 
2
  from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
3
 
4
  # Need to set HF_TOKEN on the endpoint creation process for this to work
 
1
  from typing import Dict, List, Any
2
+ import torch
3
  from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
4
 
5
  # Need to set HF_TOKEN on the endpoint creation process for this to work