1
0
Fork 0

fix class method

This commit is contained in:
Sean Sube 2023-01-16 16:40:59 -06:00
parent 4809e00982
commit 1d90f9b53c
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class ServerContext:
self.num_workers = num_workers
@classmethod
def from_environ():
def from_environ(cls):
return ServerContext(
bundle_path=environ.get('ONNX_WEB_BUNDLE_PATH',
path.join('..', 'gui', 'out')),