Skip to content

Commit 5f41259

Browse files
authored
Fix method spelling (#234)
s/tochserver/torchserver
1 parent 9c0853c commit 5f41259

File tree

1 file changed

+2
-2
lines changed
  • whisper/whisper-torchserve/model

1 file changed

+2
-2
lines changed

whisper/whisper-torchserve/model/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def __init__(self, **kwargs):
1818
self._model = None
1919
self.torchserver_ready = False
2020

21-
def start_tochserver(self):
21+
def start_torchserver(self):
2222
subprocess.run(
2323
[
2424
"torchserve",
@@ -43,7 +43,7 @@ def load(self):
4343
)
4444
logging.info("⚡️ Weights Downloaded Successfully!")
4545

46-
process = multiprocessing.Process(target=self.start_tochserver)
46+
process = multiprocessing.Process(target=self.start_torchserver)
4747
process.start()
4848

4949
# Need to wait for the torchserve server to start up

0 commit comments

Comments
 (0)