VascoBartolo
commited on
Commit
·
05d1a5d
1
Parent(s):
16d7281
fix import for the model-6
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -3,7 +3,7 @@ import torch
|
|
3 |
from transformers import LlavaNextVideoForConditionalGeneration, LlavaNextVideoProcessor
|
4 |
|
5 |
class EndpointHandler:
|
6 |
-
def __init__(self
|
7 |
# Load the model and processor
|
8 |
self.model = LlavaNextVideoForConditionalGeneration.from_pretrained('EnariGmbH/surftown-1.0')
|
9 |
self.processor = LlavaNextVideoProcessor.from_pretrained('EnariGmbH/surftown-1.0')
|
|
|
3 |
from transformers import LlavaNextVideoForConditionalGeneration, LlavaNextVideoProcessor
|
4 |
|
5 |
class EndpointHandler:
|
6 |
+
def __init__(self):
|
7 |
# Load the model and processor
|
8 |
self.model = LlavaNextVideoForConditionalGeneration.from_pretrained('EnariGmbH/surftown-1.0')
|
9 |
self.processor = LlavaNextVideoProcessor.from_pretrained('EnariGmbH/surftown-1.0')
|