discord-bot / README.md
khointn's picture
Upload folder using huggingface_hub
b1fe073 verified

A newer version of the Gradio SDK is available: 5.3.0

Upgrade
metadata
title: discord-bot
app_file: app/__main__.py
sdk: gradio
sdk_version: 4.26.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

Download web images and creating indices

bash index.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