- Team Leader: Firqa Aqila Noor Arasyi
- Team Member: Muhammad Hasnan Ramadhan, Muhammad Faridan Sutariya and Rasyidan Akbar Fayrussani
- Minimum 32GB of RAM: Provides sufficient memory to handle the large datasets and model parameters during inference, ensuring smooth and efficient data processing.
- Minimum 24GB of VRAM: Ensures the GPU can effectively manage the high computational and memory demands of the model, facilitating faster and more efficient inference operations.
To get started, clone this repository onto your local machine. Follow the instructions below:
- Open a terminal or Command Prompt.
- Change to the directory where you want to clone the repository.
- Enter the following command to clone the repository:
git clone https://github.com/MuhFaridanSutariya/llava-1.5-liveness-7b.git
- Once the cloning process is complete, navigate into the cloned directory using the
cdcommand:cd llava-1.5-liveness-7b
Make sure your system meets the following requirements before proceeding:
- Python 3.10+ is installed on your computer.
- Pip (Python package installer) is installed.
A virtual environment will allow you to separate this project from the global Python installation. Follow these steps to create a virtual environment:
On Windows: Open Command Prompt and enter the following command:
python -m venv virtualenv_nameReplace virtualenv_name with the desired name for your virtual environment.
On macOS and Linux: Open the terminal and enter the following command:
python3 -m venv virtualenv_nameReplace virtualenv_name with the desired name for your virtual environment.
After creating the virtual environment, you need to activate it before installing the requirements. Use the following steps:
On Windows: In Command Prompt, enter the following command:
virtualenv_name\Scripts\activateReplace virtualenv_name with the name you provided in the previous step.
On macOS and Linux: In the terminal, enter the following command:
source virtualenv_name/bin/activate.batReplace virtualenv_name with the name you provided in the previous step.
Once the virtual environment is activated, you can install the project requirements from the requirements.app.txt file. Follow these steps:
On Windows, macOS, and Linux:
In the activated virtual environment, navigate to the directory where the requirements.app.txt file is located. Then, enter the following command:
pip install -r requirements.app.txtThis command will install all the required packages specified in the requirements.app.txt file
How to run Web App:
python frontend/app.py
