CoolFace
Apppublic

Coder19/interview_system

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
README.md75 linesDownload Raw Back to root
1---2title: AI Interview Bot - Backend3emoji: 🤖4colorFrom: green5colorTo: indigo6sdk: docker7sdk_version: "0.2.0"8app_file: app.py9pinned: false10---11 12# AI Interview Bot - Backend13 14A FastAPI-based backend for an AI-powered interview bot with real-time WebSocket communication, speech-to-text, and AI-powered question generation.15 16## Features17 18- Real-time interview simulation using WebSockets19- Speech-to-text conversion20- AI-powered question generation21- Resume parsing and analysis22- Interview feedback and evaluation23 24## Deployment on Hugging Face Spaces25 26### Prerequisites27 281. A Hugging Face account292. Docker installed locally (for testing)303. Git installed31 32### Deployment Steps33 341. **Prepare your repository**35   - Make sure all the required files are committed to your repository36   - Ensure you have the following files in your root directory:37     - `Dockerfile`38     - `app.py`39     - `requirements.txt`40     - `.env` (for local development, do **not** commit sensitive data)41 422. **Create a new Space on Hugging Face**43   - Go to [Hugging Face Spaces](https://huggingface.co/spaces)44   - Click "Create new Space"45   - Select "Docker" as the SDK46   - Choose a name and visibility (public/private)47   - Click "Create Space"48 493. **Configure the Space**50   - In your Space settings, go to "Files and versions"51   - Upload all your project files or connect your GitHub repository52   - Set the following environment variables in the "Variables and secrets" section:53     - `OPENAI_API_KEY` (required for AI functionality)54     - Any other environment variables your app needs55 564. **Configure Hardware**57   - In the "Settings" tab, under "Hardware", select a GPU if your application requires it58   - For this application, a CPU Basic instance should be sufficient for basic functionality59 605. **Deploy**61   - Hugging Face will automatically build and deploy your application62   - Monitor the build logs in the "Logs" tab63   - Once deployed, your application will be available at:64     ```65     https://huggingface.co/spaces/<your-username>/<your-space-name>66     ```67 68## Local Development69 701. Clone the repository712. Create a virtual environment and activate it723. Install dependencies:73```bash74pip install -r requirements.txt75