old_contents: # -*- coding: utf-8 -*-
  """Create an application instance."""
  from flask.helpers import get_debug_flag
  
  from app.app import create_app
  from app.settings import DevConfig, ProdConfig
  
  CONFIG = DevConfig if get_debug_flag() else ProdConfig
  
  app = create_app(CONFIG)
  
new_contents: # -*- coding: utf-8 -*-
  """Create an application instance."""
  from flask.helpers import get_debug_flag
  
  from xixi.app import create_app
  from xixi.settings import DevConfig, ProdConfig
  
  CONFIG = DevConfig if get_debug_flag() else ProdConfig
  
  app = create_app(CONFIG)
  
subject: update autoapp: update according project env