P-Bench / README.md
minette-kaunismaki's picture
ui-updates (#1)
e680130
|
Raw
History Blame Contribute Delete
999 Bytes
---
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
```