Problem loading a web app using flask, python, HTML and PostgreSQL; not able to connect python and html scripts plus Internal Server Error message

Solution
from flask import render_template

@app.route("/", methods=['GET'])
def index():
    return render_template('index.html')