TemplateNotFound: index.html code example
Example: jinja2.exceptions.templatenotfound: templates/index.html
app = Flask(__name__, template_folder={path of template directory})
app = Flask(__name__, template_folder={path of template directory})