asofter's picture
* update links to the documentation
d4ce695
metadata
title: LLM Guard Playground
emoji: 🏢
colorFrom: blue
colorTo: gray
sdk: docker
pinned: false
license: mit

Here's a simple app, written in pure Python, to create a demo website for LLM Guard. The app is based on the streamlit package.

A live version can be found here: https://huggingface.co/spaces/ProtectAI/llm-guard-playground

Requirements

  1. Clone the repo and move to the examples/playground folder

  2. Install dependencies (preferably in a virtual environment)

pip install -r requirements.txt
  1. Start the app:
streamlit run app.py