Spaces:
Running
Running
File size: 926 Bytes
7e15c9c |
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 |
# Gradio Interface Components
This directory contains the Gradio interface components for the Board Game Arena.
## Files
- `gradio_config_generator.py` - Configuration generator that bridges Gradio UI with the game infrastructure
- `__init__.py` - Package initialization
## Main App
The main Gradio app (`app.py`) is located in the root directory for HuggingFace Spaces compatibility.
## Running the App
From the project root directory:
```bash
python app.py
```
## Architecture
```
app.py (Gradio UI - in root directory for HF Spaces)
β
ui/gradio_config_generator.py (Game configuration bridge)
β
src/game_reasoning_arena/ (Core game library)
```
The Gradio app provides:
- Interactive game interface
- Performance leaderboards
- Metrics dashboards
- LLM reasoning analysis
## Uploading Results
- Go to **Leaderboard** tab β **Upload .db**
- Files are stored in `scripts/results/` inside the Space |