API URL is http://127.0.0.1:9011
ERROR:api:Exception on /recogn [POST]
Traceback (most recent call last):
File "/Users/xmai/pyvideotrans/xmai/lib/python3.10/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/Users/xmai/pyvideotrans/xmai/lib/python3.10/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/xmai/pyvideotrans/xmai/lib/python3.10/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/xmai/pyvideotrans/xmai/lib/python3.10/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(view_args) # type: ignore[no-any-return]
File "/Users/xmai/pyvideotrans/api.py", line 295, in recogn
trk = SpeechToText(cfg)
File "", line 16, in __init__
File "/Users/xmai/pyvideotrans/videotrans/task/_speech2text.py", line 26, in __post_init__
super().__post_init__()
File "/Users/xmai/pyvideotrans/videotrans/task/_base.py", line 48, in __post_init__
if "uuid" in self.cfg and self.cfg['uuid']:
TypeError: argument of type 'NoneType' is not iterable