File size: 1,091 Bytes
82d5e51
 
 
 
 
 
 
 
 
 
 
 
 
 
264d760
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
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`.