File size: 999 Bytes
c44ff71
0fa1882
c44ff71
 
 
 
05e9485
c44ff71
 
 
 
 
 
 
0fa1882
c44ff71
a9c18ff
 
94e1698
a9c18ff
a4c3e5c
a9c18ff
94e1698
a9c18ff
05e9485
 
a9c18ff
05e9485
a9c18ff
 
05e9485
 
a9c18ff
05e9485
a9c18ff
 
94e1698
a9c18ff
94e1698
a9c18ff
 
8ddba68
 
a9c18ff
c44ff71
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
39
40
41
42
43
44
45
46
---
title: P-Bench
emoji: 🥇
colorFrom: green
colorTo: indigo
sdk: gradio
pinned: true
license: apache-2.0
short_description: A cost/quality/speed Leaderboard for Inference Providers!
sdk_version: 5.19.0
tags:
- leaderboard
---

# P-Bench

Compare text-to-image models on quality, speed, and price. This repo is the
Gradio dashboard: leaderboards, Pareto plots, and side-by-side samples.

The live Space is [PrunaAI/P-Bench](https://huggingface.co/spaces/PrunaAI/P-Bench).

## Run locally

From the repo root:

```
python -m venv .venv
source .venv/bin/activate
pip install "gradio==5.19.0" pandas -r requirements.txt
python app.py
```

The app is served at `http://127.0.0.1:7860`.

`requirements.txt` lists Plotly. Gradio and pandas are required locally;
Hugging Face Spaces installs Gradio from the YAML `sdk_version` above.

## Deploy

`origin` is the Space (`https://huggingface.co/spaces/PrunaAI/P-Bench`).
Publish the current branch to the live app with:

```
git push origin HEAD:main
```