From f0e687ec2c866f891461ce6751284f3dbb938bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Drago=C8=99?= Date: Mon, 20 Nov 2023 13:10:54 +0100 Subject: [PATCH] Fix issue with getting values from form submit --- ASR_NL_benchmark/interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ASR_NL_benchmark/interface.py b/ASR_NL_benchmark/interface.py index 5b5af7d..7bd1186 100644 --- a/ASR_NL_benchmark/interface.py +++ b/ASR_NL_benchmark/interface.py @@ -20,8 +20,8 @@ def upload_page(): hyp = os.path.join(os.path.sep,'input',request.form.get('hyp')) ref = os.path.join(os.path.sep,'input',request.form.get('ref')) kind = request.form.get('kind') - skip_ref_norm = request.form.get('skip_ref_norm') - skip_hyp_norm = request.form.get('skip_hyp_norm') + skip_ref_norm = request.form.get('skip-ref-norm') + skip_hyp_norm = request.form.get('skip-hyp-norm') print(skip_hyp_norm) print(skip_ref_norm) global benchmarking