|
|
--- |
|
|
title: Code Gen Agents Network |
|
|
emoji: 🔥 |
|
|
colorFrom: green |
|
|
colorTo: indigo |
|
|
sdk: gradio |
|
|
sdk_version: 5.45.0 |
|
|
app_file: app.py |
|
|
pinned: false |
|
|
license: apache-2.0 |
|
|
short_description: Code generation agent network with config navigator |
|
|
--- |
|
|
|
|
|
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference |
|
|
|
|
|
## Data Source |
|
|
|
|
|
- The app loads agent configs from a Hugging Face dataset. |
|
|
- Default dataset URL is read from `datasource.txt`. |
|
|
- You can override via env var `HF_DATASET_URL` (or `HF_DATASET_ID`). |
|
|
|
|
|
Supported loading paths: |
|
|
- Direct dataset rows via `datasets.load_dataset` (expects fields like `name`, `system_prompt`, `description`, `category`). |
|
|
- If rows are not loadable, it snapshots the dataset repo and scans JSON/YAML files for agent-like structures. |
|
|
|
|
|
To use your dataset: |
|
|
- Set `datasource.txt` to `https://huggingface.co/datasets/danielrosehill/Code-Gen-Agents-0925` (already set), or |
|
|
- Configure a Space secret `HF_DATASET_URL` with the dataset URL. |
|
|
|
|
|
Dependencies are pinned in `requirements.txt` and include `huggingface_hub` and `datasets`. |
|
|
|