---
title: GenAI Arena
emoji: 📈
colorFrom: purple
colorTo: pink
sdk: gradio
sdk_version: 4.41.0
python_version: 3.12
app_file: app.py
pinned: true
license: mit
tags:
- arena
- leaderboard
short_description: Realtime Image/Video Gen AI Arena
---

## Installation

- for cuda 11.8
```bash
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu118
pip install -r requirements.txt
```
- for cuda 12.1
```bash
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
pip install -r requirements.txt
```

## Start Hugging Face UI
```bash
python app.py
```

## Start Log server
```bash
uvicorn serve.log_server:app --reload --port 22005 --host 0.0.0.0
```

## Update leaderboard
```bash
cd arena_elo && bash update_leaderboard.sh
```

Paper: arxiv.org/abs/2406.04485