
4-11 강의 중 복사 붙어넣기 하고 실행 후 http://localhost:5000/ 접속하려고하는데 아래와 같은 화면만 나옵니다ㅜ 어떻게 해결해야하나요 ㅜ

작성한 코드 및 에러 메세지
from flask import Flask, render_template, request, jsonify
app = Flask(__name__)
@app.route('/')
def home():
return render_template('index.html')
@app.route("/movie", methods=["POST"])
def movie_post():
sample_receive = request.form['sample_give']
print(sample_receive)
return jsonify({'msg':'POST 연결 완료!'})
@app.route("/movie", methods=["GET"])
def movie_get():
return jsonify({'msg':'GET 연결 완료!'})
if __name__ == '__main__':
app.run('0.0.0.0', port=5000, debug=True)
-------
jinja2.exceptions.TemplateNotFound: index.html
127.0.0.1 - - [14/Oct/2022 20:11:51] "GET /?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 304 -
127.0.0.1 - - [14/Oct/2022 20:11:51] "GET /?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 304 -
127.0.0.1 - - [14/Oct/2022 20:11:51] "GET /?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
127.0.0.1 - - [14/Oct/2022 20:11:51] "GET /?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 -
