import os from dotenv import load_dotenv # Load environment variables (like HF_TOKEN) safely load_dotenv() # Import the configured interface from your workspace from interview_coach import demo #Import the UI components alongside their design styles from interview_coach import demo, custom_theme, CUSTOM_CSS # Expose the instance cleanly to the Hugging Face build wrapper app = demo if __name__ == "__main__": # Explicit container binding prevents "localhost not accessible" loop bugs demo.launch(server_name="0.0.0.0", server_port=7860, theme = custom_theme, css = CUSTOM_CSS)