Spaces:
Paused
Paused
Host live: restore gradio SDK and run the app
Browse files
README.md
CHANGED
|
@@ -3,27 +3,15 @@ title: PromptGuard
|
|
| 3 |
emoji: 🛡️
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: red
|
| 6 |
-
sdk:
|
|
|
|
|
|
|
| 7 |
pinned: false
|
| 8 |
license: apache-2.0
|
| 9 |
---
|
| 10 |
|
| 11 |
# PromptGuard
|
| 12 |
|
| 13 |
-
> **Deployment status.** This Space is published as a **static** Space because Hugging Face now
|
| 14 |
-
> requires a PRO subscription to create *new* Gradio/Docker Spaces on the free tier:
|
| 15 |
-
> *"Static Spaces are free for everyone, but hosting Gradio and Docker Spaces on free cpu-basic
|
| 16 |
-
> requires a PRO subscription."* Your six pre-existing Spaces are unaffected.
|
| 17 |
-
>
|
| 18 |
-
> The source here is complete and runnable. To host it live, switch the front matter back to
|
| 19 |
-
> `sdk: gradio` / `app_file: app.py` once you have PRO, or run it locally:
|
| 20 |
-
>
|
| 21 |
-
> ```bash
|
| 22 |
-
> pip install torch==2.9.1 --index-url https://download.pytorch.org/whl/cpu
|
| 23 |
-
> pip install -r requirements.txt
|
| 24 |
-
> python app.py
|
| 25 |
-
> ```
|
| 26 |
-
|
| 27 |
Prompt-injection scanner for Gradio applications. Scans both the **direct** path (what the user
|
| 28 |
types) and the **indirect** path (documents a RAG pipeline feeds to the model).
|
| 29 |
|
|
|
|
| 3 |
emoji: 🛡️
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: red
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 6.29.0
|
| 8 |
+
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
| 11 |
---
|
| 12 |
|
| 13 |
# PromptGuard
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
Prompt-injection scanner for Gradio applications. Scans both the **direct** path (what the user
|
| 16 |
types) and the **indirect** path (documents a RAG pipeline feeds to the model).
|
| 17 |
|