text: from flask import Flask, redirect, url_for, render_template
  from threading import Thread
  
  app = Flask('')
  
  @app.route('/')
  def main():
    return render_template('index.html')
  
  def run():
    app.run(host='0.0.0.0', port=5000, debug=1)
  
  def server():
    server = Thread(target=run)
    server.start()
  