File size: 952 Bytes
c44ff71
e680130
c44ff71
 
 
 
05e9485
c44ff71
 
 
 
 
 
 
e680130
c44ff71
e680130
 
94e1698
e680130
a4c3e5c
e680130
94e1698
e680130
05e9485
 
e680130
05e9485
e680130
 
05e9485
 
e680130
 
94e1698
e680130
94e1698
e680130
 
8ddba68
 
e680130
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
---
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
```

`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
```