File size: 843 Bytes
797c475
0c34ca8
797c475
 
 
 
 
 
 
 
0c34ca8
797c475
 
d0f78af
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30baa66
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
32
33
34
35
36
37
38
---
title: Prompt Playground v1 - Compare Models Output!
emoji: πŸ†
colorFrom: blue
colorTo: yellow
sdk: gradio
sdk_version: 5.38.0
app_file: app.py
pinned: false
license: mit
short_description: Try LLM's in a side by side comparison with prompt levers
---

# README.md
# 🧠 Prompt Canvas Engine

Test different prompt phrasings across two LLMs and compare outputs side-by-side.


## Features
- Compare any two models supported by OpenRouter
- Select or customize prompts
- Tune temperature, top_p, penalties, and max_tokens
- See outputs side-by-side
- Rate model outputs
- Share publicly


## πŸš€ Run locally
```bash
export OPENROUTER_API_KEY=your_key_here
python app.py
```

## πŸ“€ Deploy on Hugging Face
- Create a new **Gradio Space**
- Upload `app.py`, `requirements.txt`, and `README.md`
- Set `OPENROUTER_API_KEY` in Space secrets