This repository contains the source code of HackyAIMod.
docker build -t HackyAI
- Turn off access control for Docker to your X11 server.
xhost +local:docker
- If you have Nvidia GPU installed:
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY --security-opt=label=disable --runtime=nvidia -d --name HackyAIMod -i HackyAI
If you don't have Nvidia GPU installed:
docker run --security-opt=label=disable -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -d --name HackyAIMod -i HackyAI
Recommended Python Version: 3.11.x
- Clone the git repository.
git clone https://github.com/chatotp/HackyAIMod.git
- Install required dependencies from requirements.txt
cd HackyAIMod
pip install -r requirements.txt
- To test the model, use the following command.
python test_model.py
- To test the Chat UI, use the following command.
python test_ui.py