We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c0853c commit 5f41259Copy full SHA for 5f41259
whisper/whisper-torchserve/model/model.py
@@ -18,7 +18,7 @@ def __init__(self, **kwargs):
18
self._model = None
19
self.torchserver_ready = False
20
21
- def start_tochserver(self):
+ def start_torchserver(self):
22
subprocess.run(
23
[
24
"torchserve",
@@ -43,7 +43,7 @@ def load(self):
43
)
44
logging.info("⚡️ Weights Downloaded Successfully!")
45
46
- process = multiprocessing.Process(target=self.start_tochserver)
+ process = multiprocessing.Process(target=self.start_torchserver)
47
process.start()
48
49
# Need to wait for the torchserve server to start up
0 commit comments