Spaces:
Running
Running
| # app.py | |
| # Minimal entry point for the modular AI career assistant | |
| # - Modular architecture with clean separation of concerns | |
| # - Configuration, notifications, tools, and core logic in separate modules | |
| # | |
| # .env required: | |
| # GOOGLE_API_KEY=... | |
| # PUSHOVER_TOKEN=... | |
| # PUSHOVER_USER=... | |
| from dotenv import load_dotenv | |
| import gradio as gr | |
| from core.chatbot import Chatbot | |
| load_dotenv(override=True) | |
| # ============================== Gradio UI ==================================== | |
| if __name__ == "__main__": | |
| chatbot = Chatbot() | |
| gr.ChatInterface(chatbot.chat, type="messages").launch() |