Spaces:
Sleeping
Sleeping
Deployment
This project is prepared for free deployment on Hugging Face Spaces using Docker.
What is included
Dockerfile: builds the React frontend and serves the Flask app with Gunicornrequirements.txt: Python runtime dependencies.dockerignore: excludes local virtualenvs, build output, and caches
Deploy steps
- Push the
EmpowerHer_Chatbotfolder contents to your GitHub repository. - Go to Hugging Face Spaces.
- Create a new Space.
- Choose
Dockeras the SDK. - Link the Space to your GitHub repository or upload these files.
- Wait for the image build to finish.
- Open the Space URL and test the chatbot.
Runtime notes
- The app listens on port
7860. - The frontend is built from
FRONTEND/during the Docker build. - Flask serves the built frontend and the
/chatAPI from one container. - The first startup may take longer because transformer models need to download.