Skip to content

Commit

Permalink
Fixing configuration loading
Browse files Browse the repository at this point in the history
  • Loading branch information
marcverhagen committed Dec 15, 2023
1 parent 59ef53e commit 570ca0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _annotate(self, mmif: Union[str, dict, Mmif], **parameters) -> Mmif:
parser.add_argument("--production", action="store_true", help="run gunicorn server")

parsed_args = parser.parse_args()
classifier_configs = yaml.safe_load(parsed_args.configs)
classifier_configs = yaml.safe_load(open(parsed_args.config))

app = SwtDetection(classifier_configs)

Expand Down

0 comments on commit 570ca0c

Please sign in to comment.