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

A newer version of the Gradio SDK is available: 6.20.0

Upgrade
metadata
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 Β· 🎬 Watch the 1-min demo Β· πŸ“£ Post on X Β· 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.

flowchart LR
  A[name Β· age Β· theme] --> B[Nemotron: outline] --> C[Nemotron: story] --> D[VoxCPM2: narrate] --> E[πŸ”Š]
  V[your voice clip] --> D

Built by @praxelhq for the HuggingFace Build Small hackathon β€” Backyard AI. Models: Nemotron-Nano-9B (NVIDIA) and VoxCPM2 (OpenBMB), both small, both on Modal. Build notes Β· agent traces shared on the Hub.