new_contents: from flask import Flask
  from flask import render_template
  import os
  import sys
  import subprocess
  import generator
  app = Flask(__name__)
  
  @app.route('/')
  def hello_world(name=None):
      generator.main()
      subprocess.Popen('lilypond -f png something.ly', shell=True)
      return render_template('hello.html', name=name)
  
  if __name__ == '__main__':
      app.run('0.0.0.0')
  
subject: Add flask server