discord-bot / README.md
khointn's picture
Upload folder using huggingface_hub
cca4857 verified
|
raw
history blame
924 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