text: from flask import Flask, render_template
  # from instance.config import DevConfig
  from flask_bootstrap import Bootstrap
  from config import config_options
  bootstrap = Bootstrap()
  
  
  def create_app(config_name):
      app = Flask(__name__)
  # Creating the app configurations
      app.config.from_object(config_options['development'])
  # config_options[config_name].init_app(app)
  # Initializing flask extensions
      bootstrap.init_app(app)
  # Registering the blueprint
      from .main import main as main_blueprint
      app.register_blueprint(main_blueprint)
      # from app import views
  # setting config
      return app
  