jgroschwitz / vulcan

Visualizations for Understanding Language Corpora and model predictioNs
Apache License 2.0
0 stars 0 forks source link

Server error on search #9

Closed megodoonch closed 1 year ago

megodoonch commented 1 year ago

Searching while running visualize_amr_corpus on the little prince dev set, searching usually throws a server error.

Errors in the console include Exception: Corpus slice not found: Sentence and return obj is not None and obj[0 ["node_label"].strip().lower() == user_arguments[0].strip().lower() AttributeError: 'NoneType' object has no attribute 'strip'

jgroschwitz commented 1 year ago

I just found some unpushed changes on my laptop that seem to have fixed this issue. Could you try again with the most recent version to confirm?

megodoonch commented 1 year ago

Works!