old_contents: from flask import Flask, render_template
  app = Flask(__name__)
  
  @app.route("/")
  def index():
      return render_template('index.html')
  
  @app.route("/fdc")
  def fdc_report_page():
      return render_template('fdc-report.html')
  
  if __name__ == "__main__":
      app.run(debug=True)
  
new_contents: import os
  import sys
  from flask import Flask, render_template, request
  
  current_dir = os.path.abspath(os.path.dirname(__file__))
  sys.path.insert(0, os.path.join(current_dir, '..'))
  
  from wm_metrics import fdc
  from wm_metrics import wmfr_photography
  from wm_metrics import commons_cat_metrics
  
  app = Flask(__name__)
  
  @app.route("/")
  def index():
      return render_template('index.html')
  
  @app.route("/fdc")
  def fdc_report_page():
      return render_template('fdc-report.html')
  
  if __name__ == "__main__":
      app.run(debug=True)
  
subject: Add imports for Wm_metrics module