The model_type needs to be set to "layoutlm" in order for it to work with the DocumentQA pipeline (and hence the widget).
· Sign up or log in to comment