File size: 605 Bytes
54917d7
7d317a5
54917d7
e18c8b0
 
54917d7
 
 
 
 
e18c8b0
 
 
d4ce695
e18c8b0
 
 
7d317a5
e18c8b0
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
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](https://streamlit.io/) 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)

```sh
pip install -r requirements.txt
```

3. Start the app:

```sh
streamlit run app.py
```