title: Raise TemplateNotFound(template) jinja2.exceptions.TemplateNotFound: index.html
body: <p>I am just providing a piece of code here. When i run the whole code its showing Index.html file is not found.</p>
  
  <pre><code> app = Flask(__name__)
      CORS(app)
      app.url_map.converters['everything'] = EverythingConverter
  
      def render(duplicates, current, total):
          env = Environment(loader=FileSystemLoader('template'))
          template = env.get_template('index.html')
          return template.render(duplicates=duplicates,
                                 current=current,
                                 total=total)
  </code></pre>
  
  <p>the error is</p>
  
  <pre><code>    raise TemplateNotFound(template)
  jinja2.exceptions.TemplateNotFound: index.html
  </code></pre>
  
  <p>My file path is </p>
  
  <pre><code>/My_project
     template
        /index.html
     my_project.py
  </code></pre>
  
  <p>I ran the program so many times but its writes the same error. Does anyone had some idea?</p>
  
  <p>thanks in advance</p>