Initial commit

This commit is contained in:
Cookie Crumbs
2026-11-02 08:35:34 -08:00
committed by GitHub
commit 89354c0178
12 changed files with 718 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
from typing import Optional
class CalculatorModel:
def __init__(self):
self.model = None
def load_model(self,
model_path: str,
device: str,
compute_type: Optional[str] = None,
):
self.model = 1
print("Calculator model loaded")
@staticmethod
def plus(a, b):
return a+b
@staticmethod
def minus(a, b):
return a-b