OssamaLafhel
commited on
Commit
•
5b941ac
1
Parent(s):
f2ef112
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -2,7 +2,7 @@ import time
|
|
2 |
import json
|
3 |
from pydantic import BaseModel
|
4 |
import transformers
|
5 |
-
from transformers import pipeline
|
6 |
import torch
|
7 |
from torch import nn
|
8 |
import torch.nn.functional as F
|
|
|
2 |
import json
|
3 |
from pydantic import BaseModel
|
4 |
import transformers
|
5 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
6 |
import torch
|
7 |
from torch import nn
|
8 |
import torch.nn.functional as F
|