Spaces:
Running
Running
| """ | |
| Main application entry point for MCP Browser | |
| """ | |
| import gradio as gr | |
| import logging | |
| from config.settings import UI_CSS, GEMINI_API_KEY | |
| from ui.layout import create_main_layout | |
| # Set up logging | |
| logging.basicConfig(level=logging.INFO) | |
| logger = logging.getLogger(__name__) | |
| # Create the main Gradio app | |
| demo = create_main_layout() | |
| if __name__ == "__main__": | |
| logger.info("Starting MCP Browser application...") | |
| demo.launch(mcp_server=True) |