interview-coach / app.py
ishan-25's picture
Moved the css and theme call out of interview_coach INTO app.py
f026033 verified
Raw
History Blame Contribute Delete
598 Bytes
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)