Spaces:
Sleeping
Sleeping
VoxaLab Bot commited on
Commit Β·
22a40dd
1
Parent(s): 17721b8
Add git attributes and HF Spaces README
Browse files- .gitattributes +7 -0
- README_HF.md +162 -0
.gitattributes
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
* text=auto
|
| 2 |
+
*.py text eol=lf
|
| 3 |
+
*.js text eol=lf
|
| 4 |
+
*.json text eol=lf
|
| 5 |
+
*.md text eol=lf
|
| 6 |
+
*.sh text eol=lf
|
| 7 |
+
*.env text eol=lf
|
README_HF.md
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# VoxaLab AI - Interview Coaching Platform
|
| 2 |
+
|
| 3 |
+
**Master Your Interview Skills with AI-Powered Coaching**
|
| 4 |
+
|
| 5 |
+
π€ Real-time voice recognition β’ π€ AI coaching feedback β’ π Performance analytics β’ π Instant improvements
|
| 6 |
+
|
| 7 |
+
## Features
|
| 8 |
+
|
| 9 |
+
### π― Interactive Practice Sessions
|
| 10 |
+
- Select your target role (Java, Frontend, DevOps, Data Science, Product Manager)
|
| 11 |
+
- Practice with realistic interview questions
|
| 12 |
+
- Choose your preferred language (EN, FR, ES, DE, ZH, JA)
|
| 13 |
+
- Answer via typing or voice recording
|
| 14 |
+
|
| 15 |
+
### π€ AI-Powered Coaching
|
| 16 |
+
- Get instant feedback on your answers
|
| 17 |
+
- Receive coaching tips from Mistral AI
|
| 18 |
+
- Hear audio feedback via text-to-speech
|
| 19 |
+
- Track your progress with scoring
|
| 20 |
+
|
| 21 |
+
### π Comprehensive Analytics
|
| 22 |
+
- Detailed performance reports
|
| 23 |
+
- Strength and improvement areas
|
| 24 |
+
- Role-specific feedback
|
| 25 |
+
- Confidence scoring
|
| 26 |
+
- STAR method analysis
|
| 27 |
+
|
| 28 |
+
### π¨ Beautiful Modern UI
|
| 29 |
+
- Animated gradient backgrounds
|
| 30 |
+
- Responsive design (mobile/tablet/desktop)
|
| 31 |
+
- Smooth animations and interactions
|
| 32 |
+
- Professional dark theme with cyan/purple accents
|
| 33 |
+
- Real-time recording visualizer
|
| 34 |
+
|
| 35 |
+
## How to Use
|
| 36 |
+
|
| 37 |
+
### 1. Select Your Role
|
| 38 |
+
Choose from 5 professional roles:
|
| 39 |
+
- Java Backend Engineer
|
| 40 |
+
- Frontend Engineer
|
| 41 |
+
- DevOps Engineer
|
| 42 |
+
- Data Scientist
|
| 43 |
+
- Product Manager
|
| 44 |
+
|
| 45 |
+
### 2. Practice Interview Questions
|
| 46 |
+
- Read the question
|
| 47 |
+
- Answer via typing or voice recording
|
| 48 |
+
- Get instant AI-powered feedback
|
| 49 |
+
|
| 50 |
+
### 3. Improve Your Answers
|
| 51 |
+
- Review coaching tips
|
| 52 |
+
- Hear example improved answers
|
| 53 |
+
- Understand the STAR method
|
| 54 |
+
|
| 55 |
+
### 4. View Your Report
|
| 56 |
+
- See overall performance scores
|
| 57 |
+
- Get actionable recommendations
|
| 58 |
+
- Download insights
|
| 59 |
+
|
| 60 |
+
## Technology Stack
|
| 61 |
+
|
| 62 |
+
### Frontend
|
| 63 |
+
- **React 18** - Modern UI components
|
| 64 |
+
- **CSS3** - Beautiful animations and responsive design
|
| 65 |
+
- **Web Audio API** - Real-time voice recording
|
| 66 |
+
- **react-icons** - Professional SVG icons
|
| 67 |
+
- **Axios** - API communication
|
| 68 |
+
|
| 69 |
+
### Backend
|
| 70 |
+
- **FastAPI** - High-performance Python API
|
| 71 |
+
- **Mistral Large 3** - Advanced AI coaching
|
| 72 |
+
- **Whisper** - Audio transcription
|
| 73 |
+
- **ElevenLabs** - Natural speech synthesis
|
| 74 |
+
- **LangChain** - AI orchestration
|
| 75 |
+
|
| 76 |
+
## API Endpoints
|
| 77 |
+
|
| 78 |
+
### Session Management
|
| 79 |
+
- `GET /session/questions` - Fetch interview questions
|
| 80 |
+
- `POST /session/answer` - Submit and score answer
|
| 81 |
+
|
| 82 |
+
### Analysis
|
| 83 |
+
- `POST /analysis/transcribe` - Convert audio to text
|
| 84 |
+
- `POST /analysis/feedback` - Get AI coaching feedback
|
| 85 |
+
|
| 86 |
+
### Report Generation
|
| 87 |
+
- `POST /report/generate` - Create comprehensive report
|
| 88 |
+
|
| 89 |
+
### Text-to-Speech
|
| 90 |
+
- `POST /tts/speak` - Convert feedback to audio
|
| 91 |
+
|
| 92 |
+
## Configuration
|
| 93 |
+
|
| 94 |
+
### Environment Variables
|
| 95 |
+
- `MISTRAL_API_KEY` - Mistral AI API key (from console.mistral.ai)
|
| 96 |
+
- `ELEVENLABS_API_KEY` - ElevenLabs API key (from elevenlabs.io)
|
| 97 |
+
- `PORT` - Server port (default: 7860 for HF Spaces)
|
| 98 |
+
- `HOST` - Server host (default: 0.0.0.0)
|
| 99 |
+
|
| 100 |
+
## Performance
|
| 101 |
+
|
| 102 |
+
- **Fast Response Times**: < 1s for feedback generation
|
| 103 |
+
- **High Accuracy**: 95%+ transcription accuracy with Whisper
|
| 104 |
+
- **Beautiful UI**: 60fps animations
|
| 105 |
+
- **Responsive**: Works on all devices
|
| 106 |
+
|
| 107 |
+
## Demo Mode
|
| 108 |
+
|
| 109 |
+
The application works in demo mode without API keys:
|
| 110 |
+
- Questions and answers are processed locally
|
| 111 |
+
- Default coaching feedback is provided
|
| 112 |
+
- No voice synthesis or transcription
|
| 113 |
+
|
| 114 |
+
## Production Features
|
| 115 |
+
|
| 116 |
+
With API keys configured:
|
| 117 |
+
- Real-time voice transcription
|
| 118 |
+
- AI-powered coaching feedback
|
| 119 |
+
- Natural speech synthesis
|
| 120 |
+
- Advanced STAR method analysis
|
| 121 |
+
- Multi-language support
|
| 122 |
+
|
| 123 |
+
## Browser Support
|
| 124 |
+
|
| 125 |
+
- Chrome 90+
|
| 126 |
+
- Firefox 88+
|
| 127 |
+
- Safari 14+
|
| 128 |
+
- Edge 90+
|
| 129 |
+
|
| 130 |
+
## Deployment
|
| 131 |
+
|
| 132 |
+
This app is deployed on Hugging Face Spaces. To run locally:
|
| 133 |
+
|
| 134 |
+
```bash
|
| 135 |
+
# Clone the repository
|
| 136 |
+
git clone https://huggingface.co/spaces/mistral-hackaton-2026/voxalab
|
| 137 |
+
cd voxalab
|
| 138 |
+
|
| 139 |
+
# Install dependencies
|
| 140 |
+
pip install -r requirements.txt
|
| 141 |
+
|
| 142 |
+
# Create .env file with API keys
|
| 143 |
+
cp backend/.env.example .env
|
| 144 |
+
# Edit .env with your Mistral and ElevenLabs API keys
|
| 145 |
+
|
| 146 |
+
# Run the application
|
| 147 |
+
python app.py
|
| 148 |
+
```
|
| 149 |
+
|
| 150 |
+
Visit: http://localhost:7860
|
| 151 |
+
|
| 152 |
+
## License
|
| 153 |
+
|
| 154 |
+
MIT License
|
| 155 |
+
|
| 156 |
+
## Author
|
| 157 |
+
|
| 158 |
+
VoxaLab AI Team
|
| 159 |
+
|
| 160 |
+
---
|
| 161 |
+
|
| 162 |
+
**Ready to ace your interviews? Start practicing now! π**
|