Skip to content

Commit

Permalink
Use a supported model type by default, but allow it to be overridden …
Browse files Browse the repository at this point in the history
…by a parameter from the PythonPR
  • Loading branch information
Ian Roberts committed Sep 14, 2020
1 parent 4cab6a8 commit 60ecd97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gate_stance.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def run(doc, **kwargs):
global classifier

if classifier is None:
classifier = StanceClassifier("lr")
classifier = StanceClassifier(kwargs.get("model", "ens"))

text = doc.text

Expand Down

0 comments on commit 60ecd97

Please sign in to comment.