You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "", line 1, in
File "/home/indus/.local/lib/python3.8/site-packages/canary/argument_pipeline/init.py", line 158, in analyse_file
return analyse(
File "/home/indus/.local/lib/python3.8/site-packages/canary/argument_pipeline/init.py", line 223, in analyse
components = segmenter.get_components_from_document(document)
File "/home/indus/.local/lib/python3.8/site-packages/canary/argument_pipeline/argument_segmentation.py", line 176, in get_components_from_document
predictions = [self.predict(sentence) for sentence in sentences]
File "/home/indus/.local/lib/python3.8/site-packages/canary/argument_pipeline/argument_segmentation.py", line 176, in
predictions = [self.predict(sentence) for sentence in sentences]
File "/home/indus/.local/lib/python3.8/site-packages/canary/argument_pipeline/argument_segmentation.py", line 135, in predict
predictions = super().predict(data, probability=False)[0]
File "/home/indus/.local/lib/python3.8/site-packages/canary/argument_pipeline/base.py", line 251, in predict
def probability_predict(inp) -> Union[list[dict], dict]:
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered:
File "", line 1, in
File "/home/indus/.local/lib/python3.8/site-packages/canary/argument_pipeline/init.py", line 158, in analyse_file
return analyse(
File "/home/indus/.local/lib/python3.8/site-packages/canary/argument_pipeline/init.py", line 223, in analyse
components = segmenter.get_components_from_document(document)
File "/home/indus/.local/lib/python3.8/site-packages/canary/argument_pipeline/argument_segmentation.py", line 176, in get_components_from_document
predictions = [self.predict(sentence) for sentence in sentences]
File "/home/indus/.local/lib/python3.8/site-packages/canary/argument_pipeline/argument_segmentation.py", line 176, in
predictions = [self.predict(sentence) for sentence in sentences]
File "/home/indus/.local/lib/python3.8/site-packages/canary/argument_pipeline/argument_segmentation.py", line 135, in predict
predictions = super().predict(data, probability=False)[0]
File "/home/indus/.local/lib/python3.8/site-packages/canary/argument_pipeline/base.py", line 251, in predict
def probability_predict(inp) -> Union[list[dict], dict]:
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered: