Britania commited on
Commit
655f992
·
verified ·
1 Parent(s): a52898e

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -1,6 +1,6 @@
1
  from transformers import AutoModelForCausalLM, AutoTokenizer
2
  from typing import Dict, Any, List
3
-
4
  class EndpointHandler():
5
  def __init__(self, path=""):
6
  # Carga el modelo y el tokenizer
 
1
  from transformers import AutoModelForCausalLM, AutoTokenizer
2
  from typing import Dict, Any, List
3
+ import torch
4
  class EndpointHandler():
5
  def __init__(self, path=""):
6
  # Carga el modelo y el tokenizer