nidra / README.md
praxelhq's picture
Nidra->Backyard track; add Sharing badge + linked agent-traces dataset
605eff9 verified
|
Raw
History Blame Contribute Delete
1.99 kB
---
title: Nidra
emoji: πŸŒ™
colorFrom: indigo
colorTo: purple
sdk: gradio
app_file: app.py
pinned: true
license: mit
short_description: An AI bedtime story, narrated in your own cloned voice.
tags:
- gradio
- build-small-hackathon
- agentic
- voice-cloning
- tts
- bedtime
- track:backyard
- sponsor:nvidia
- sponsor:openbmb
- sponsor:modal
- achievement:offbrand
- achievement:fieldnotes
- achievement:sharing
---
# πŸŒ™ Nidra
A bedtime story, written for your kid and read in your voice.
You give a name, an age, and whatever they're into this week. A small agent writes the story; your cloned voice reads it back.
**β†’ [Open Nidra](https://huggingface.co/spaces/build-small-hackathon/nidra)** Β· **🎬 [Watch the 1-min demo](https://share.descript.com/view/FPpNJNlmCQI)** Β· **πŸ“£ [Post on X](https://x.com/Pushpakteja/status/2066633364510277888)** Β· first run warms up on Modal (~3–5 min).
## What it does
Type something like *"Arjun, 5, a curious mongoose who finds a library under a banyan tree."* Nidra writes an outline, then the full story, then narrates it line by line in the voice you upload (or a default warm one). You can download the whole agent trace if you want to see how it got there.
## How it works
Two passes of NVIDIA's Nemotron-Nano-9B β€” outline, then story β€” and then VoxCPM2 voices each sentence. The Space itself is CPU-only; all the GPU work is a serverless Modal app that scales to zero between runs.
```mermaid
flowchart LR
A[name Β· age Β· theme] --> B[Nemotron: outline] --> C[Nemotron: story] --> D[VoxCPM2: narrate] --> E[πŸ”Š]
V[your voice clip] --> D
```
Built by [@praxelhq](https://huggingface.co/praxelhq) for the HuggingFace **Build Small** hackathon β€” Backyard AI. Models: Nemotron-Nano-9B (NVIDIA) and VoxCPM2 (OpenBMB), both small, both on Modal. [Build notes](./FIELD_NOTES.md) Β· [agent traces shared on the Hub](https://huggingface.co/datasets/build-small-hackathon/praxy-voice-agent-traces).