discord-bot / README.md
khointn's picture
Upload folder using huggingface_hub
6451cea verified
|
raw
history blame
920 Bytes
metadata
title: discord-bot
app_file: app/main.py
sdk: gradio
sdk_version: 4.33.0

Capstone Project

Requirements

Installation

Set up virtual environment

python -m venv venv
. venv/bin/activate

Install dependencies

poetry install

Local Requirements

poetry install --with local

Download embedding and(or) LLM models

bash prestart.sh

Install pre-commit hooks

pre-commit install

Running

docker compose up -d
poetry run python -m app

URLs

Development URLs

Gradio UI

http://localhost:8000

API Documentation

http://localhost:8000/docs