label-studio-ml-backend
label-studio-ml-backend copied to clipboard
TypeError: init_app() got an unexpected keyword argument 'model_dir'
When executing _wsgi.py from within examples/segment_anything_model/ I'm getting a type error that says the following:
Ubuntu 22.04 Python 3.11.4
python _wsgi.py -p 4243
Traceback (most recent call last):
File "/home/sam/Projects/labelSAM/label-studio-ml-backend/label_studio_ml/examples/segment_anything_model/_wsgi.py", line 107, in <module>
app = init_app(
^^^^^^^^^
TypeError: init_app() got an unexpected keyword argument 'model_dir'
hi there. I have the same issue when executing the _wsgi.py
@JKYang01 reset to previous commit 3a9486c4f5084820b83811f5b3996fc63e331f5a
https://github.com/HumanSignal/label-studio-ml-backend/issues/310#issuecomment-1669071862
Same here.