Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -7,7 +7,7 @@ from io import BytesIO
|
|
7 |
|
8 |
|
9 |
class EndpointHandler:
|
10 |
-
def __init__(self, **kwargs):
|
11 |
"""Initialize the SQUIM model handler.
|
12 |
Sets up the model on GPU if available, otherwise on CPU.
|
13 |
"""
|
|
|
7 |
|
8 |
|
9 |
class EndpointHandler:
|
10 |
+
def __init__(self, model_dir: str, **kwargs):
|
11 |
"""Initialize the SQUIM model handler.
|
12 |
Sets up the model on GPU if available, otherwise on CPU.
|
13 |
"""
|