cyqm
commited on
Commit
·
96fe271
1
Parent(s):
396d643
Bugfix: add import torch
Browse files- handler.py +1 -0
handler.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import time
|
2 |
import random
|
|
|
3 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
4 |
|
5 |
class EndpointHandler:
|
|
|
1 |
import time
|
2 |
import random
|
3 |
+
import torch
|
4 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
5 |
|
6 |
class EndpointHandler:
|