Skip to content

vbochliyakgp/bknd_deloite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# use python3.11


vibemeter_backend/
│
├── main.py                  # FastAPI application entry point
├── config.py                # Configuration settings
├── requirements.txt         # Project dependencies
├── Dockerfile               # For containerization
├── docker-compose.yml       # For running the app with PostgreSQL
│
├── app/
│   ├── __init__.py
│   ├── database.py          # Database connection setup
│   ├── dependencies.py      # FastAPI dependencies (authentication, etc.)
│   │
│   ├── api/
│   │   ├── __init__.py
│   │   ├── auth.py          # Authentication routes
│   │   ├── chatbot.py       # Chatbot routes
│   │   ├── hr.py            # HR dashboard routes
│   │   └── admin.py         # Admin dashboard routes
│   │
│   ├── core/
│   │   ├── __init__.py
│   │   ├── auth.py          # Authentication logic
│   │   ├── security.py      # Password hashing, JWT
│   │   └── openai_client.py # OpenAI integration
│   │
│   ├── models/
│   │   ├── __init__.py
│   │   ├── user.py          # User model (admin, HR)
│   │   ├── employee.py      # Employee model
│   │   ├── vibemeter.py     # Vibemeter responses
│   │   ├── chat_session.py  # Chat session model
│   │   ├── message.py       # Message model
│   │   ├── leave.py         # Leave data
│   │   ├── activity.py      # Activity tracker data
│   │   ├── performance.py   # Performance data
│   │   └── rewards.py       # Rewards and recognition data
│   │
│   ├── schemas/
│   │   ├── __init__.py
│   │   ├── user.py          # User Pydantic schemas
│   │   ├── employee.py      # Employee Pydantic schemas
│   │   ├── auth.py          # Authentication schemas
│   │   ├── chat.py          # Chat schemas
│   │   ├── vibemeter.py     # Vibemeter schemas
│   │   └── analytics.py     # Analytics schemas
│   │
│   ├── services/
│   │   ├── __init__.py
│   │   ├── employee.py      # Employee CRUD operations
│   │   ├── chat.py          # Chat functionality
│   │   ├── analytics.py     # Data analysis service
│   │   ├── email.py         # Email service
│   │   └── report.py        # Report generation service
│   │
│   └── utils/
│       ├── __init__.py
│       └── helper.py        # Utility functions



#run server
uvicorn main:app --host 0.0.0.0 --port 3000 --reload


4. Make sure you have FFmpeg installed:
```bash
# On Ubuntu/Debian
sudo apt-get install ffmpeg

# On macOS with Homebrew
brew install ffmpeg

# On Windows
# Download from https://ffmpeg.org/download.html
```

5. Download Rhubarb Lip Sync from [https://github.com/DanielSWolf/rhubarb-lip-sync/releases](https://github.com/DanielSWolf/rhubarb-lip-sync/releases) and place the executable in the `bin` directory.
/*

## Error with Missing Resources

If you're seeing errors like:
```
[Error] "acmod.c", line 82: Folder '..../bin/res/sphinx/acoustic-model' does not contain acoustic model definition 'mdef'
```

This means Rhubarb is missing its required acoustic model resources.

## Proper Installation Steps

1. **Download the complete Rhubarb package** from the official repository:
   - Go to: https://github.com/DanielSWolf/rhubarb-lip-sync/releases
   - Download the appropriate release for your OS (Linux, Windows, macOS)

2. **Extract the complete package**, which should include:
   - The `rhubarb` executable
   - A `res` folder containing the required resources
   - Other supporting files

3. **Copy the entire folder structure** to your project:
   ```bash
   # Create the bin directory if it doesn't exist
   mkdir -p bin
   
   # Copy the entire Rhubarb directory structure
   cp -r /path/to/Rhubarb-Lip-Sync-1.13.0-Linux/* bin/
   # for me it is ~/Downloads/bin/Rhubarb-Lip-Sync-1.13.0-Linux
   
   # Make sure the rhubarb executable is executable
   chmod +x bin/rhubarb
   ```

4. **Verify the resources exist**:
   - Check that the `bin/res` directory exists and contains the necessary resources
   - The path should look something like `bin/res/sphinx/acoustic-model/`

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •