-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi - your tool at https://sites.google.com/view/voiceprint-sec appears to be down right now so I've installed from source.
There appear to be some files missing, perhaps a file called 'backend.py' or folder called 'backend'? This is the error:
File "app.py", line 21, in
from backend.read_word_metric import create_score_table, create_baseline_list, create_element_table, count_phone_sequence, search_f1, search_f2, search_f3, get_score
ModuleNotFoundError: No module named 'backend'
Also, to get this far I had to make two other changes:
-
pip install markupsafe==2.0.1
due to error: ImportError: cannot import name 'soft_unicode' from 'markupsafe'
diff --git a/forms.py b/forms.py
index f323256..44f430a 100644
--- a/forms.py
+++ b/forms.py
@@ -10,7 +10,7 @@ from flask_wtf import FlaskForm
from flask_wtf.file import FileField, FileRequired, FileAllowed
from wtforms import StringField, PasswordField, BooleanField, IntegerField,
TextAreaField, SubmitField, MultipleFileField
-from wtforms.fields.core import SelectField
+from wtforms.fields import SelectField
from wtforms.validators import DataRequired, Length, ValidationError, Email
which was due to the error: ImportError: cannot import name 'SelectField' from 'wtforms.fields.core'