VascoBartolo
commited on
Commit
•
018de9e
1
Parent(s):
41c3289
change model initialization fix path
Browse files- handler.py +0 -1
handler.py
CHANGED
@@ -4,7 +4,6 @@ from transformers import LlavaNextVideoForConditionalGeneration, AutoProcessor,
|
|
4 |
|
5 |
class EndpointHandler:
|
6 |
def __init__(self, path="/app"):
|
7 |
-
config = AutoConfig.from_pretrained(path)
|
8 |
self.model = LlavaNextVideoForConditionalGeneration.from_pretrained(path)
|
9 |
|
10 |
# Load the processor from the configuration files
|
|
|
4 |
|
5 |
class EndpointHandler:
|
6 |
def __init__(self, path="/app"):
|
|
|
7 |
self.model = LlavaNextVideoForConditionalGeneration.from_pretrained(path)
|
8 |
|
9 |
# Load the processor from the configuration files
|