5.4.1. gemini_interface.app

Gemini App Entry Point.


This script serves as the entry point for running the Gemini web user interface as a standalone Flask application.

It loads the Flask app via the factory create_app and launches the server.

  • The port can be set by the environment variable GEMINI_FRONTEND_PORT (default: 5100).

  • The host is set to 0.0.0.0 to allow external connections.

  • Debug mode is disabled for production usage.

The create_app factory handles all necessary configuration, blueprint registration, and initialization required for Gemini’s UI server.