#!/bin/bash # # Clone and install LLaMA-Factory # git clone https://github.com/hiyouga/LLaMA-Factory.git # cd LLaMA-Factory # pip install .[torch,bitsandbytes] --quiet # # Install unsloth # pip install git+https://github.com/unslothai/unsloth.git --quiet # # Return to the root directory # cd .. # Run the application with gunicorn gunicorn --bind 0.0.0.0:5000 app:app