Spaces:
Runtime error
Runtime error
Update base.py
Browse files
base.py
CHANGED
@@ -10,7 +10,7 @@ from abc import ABC, abstractclassmethod
|
|
10 |
__dir__ = Path(__file__).parent
|
11 |
|
12 |
class ONNXBaseTask(ABC):
|
13 |
-
num_gpus: int =
|
14 |
|
15 |
def __init__(self, weight: str) -> None:
|
16 |
self.session = self.initialize_session(weight)
|
|
|
10 |
__dir__ = Path(__file__).parent
|
11 |
|
12 |
class ONNXBaseTask(ABC):
|
13 |
+
num_gpus: int = 0
|
14 |
|
15 |
def __init__(self, weight: str) -> None:
|
16 |
self.session = self.initialize_session(weight)
|