Move train.html to admin directory and update template path

parent 6acd0a64
...@@ -352,7 +352,7 @@ def train(): ...@@ -352,7 +352,7 @@ def train():
else: else:
flash('Please provide training data (upload file or specify directory)', 'error') flash('Please provide training data (upload file or specify directory)', 'error')
return render_template('train.html', return render_template('admin/train.html',
user=user, user=user,
tokens=get_user_tokens(user["id"]), tokens=get_user_tokens(user["id"]),
message=message, message=message,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment