Gradio Notebook– Notebook UX for Generative AI models in Hugging Face
TLDR: Gradio Notebook is a notebook component for generative AI that offers the fastest way to create a Hugging Face space (in < 10 lines of code), and a familiar notebook interface for interacting with any combination of text, image and audio models in a single space. Follow this Quickstart to create a gradio notebook for yourself: https://huggingface.co/spaces/lastmileai/gradio-notebook-template Hi HN Community! I’m Sarmad, co-founder of LastMile AI, and today I’m excited to share Gradio Notebook, our latest open-source project in collaboration with Hugging Face.…
What it does
In the maker’s words, at launch
TLDR: Gradio Notebook is a notebook component for generative AI that offers the fastest way to create a Hugging Face space (in < 10 lines of code), and a familiar notebook interface for interacting with any combination of text, image and audio models in a single space. Follow this Quickstart to create a gradio notebook for yourself: https://huggingface.co/spaces/lastmileai/gradio-notebook-template Hi HN Community! I’m Sarmad, co-founder of LastMile AI, and today I’m excited to share Gradio Notebook, our latest open-source project in collaboration with Hugging Face. Gradio Notebook [1] is a notebook component that offers an interactive playground for Hugging Face models of any modality in a single Hugging Face space. It brings the familiar UX of a notebook to generative AI model inference, and enables much richer interactions than a chat interface allows. If you're a Hugging Face space creator looking for speed and ease of development, Gradio Notebook gets your space ready in 5 minutes with < 10 lines of code (without having to build your own UI at all). Key features: * Use any combination of text, image, or audio models in a single space, and even chain models together. * Interact and experiment with models using a pre-built notebook UI, which is a familiar, intuitive interface for multimodal interaction. At its core, the notebook contains cells (we call them “prompts”), which are associated with a model to run. * Get a shareable URL to share the space outputs with others (my personal favorite feature, since it isn’t possible on HF today). * Download your space config (prompts and model settings) as a JSON file, and use it in your application via our SDK [2]. This is a new user experience for generative AI, and for Hugging Face, and we are looking for feedback. If you frequently use HF spaces, and especially if you like to build spaces, please give this a try and get in touch! Excited to hear from you, and looking forward to seeing what you create with Gradio Notebook! To get started, please use the Quickstart [1], which contains everything to set up and play with the component [1] Link to Quickstart: https://huggingface.co/spaces/lastmileai/gradio-notebook-template [2] SDK: https://aiconfig.lastmileai.dev/docs/gradio-notebook#gradio-notebook-api [3] Gradio Notebook Docs: https://aiconfig.lastmileai.dev/docs/gradio-notebook [4] Repo (it’s all open source): https://github.com/lastmile-ai/aiconfig/tree/main/gradio-notebook
Does the same job
all alternatives →



Interactive, animated architecture of any HuggingFace models18d ago · modelmap.cc · ▲113Interactive, animated architecture maps for any Hugging Face model — and whether it fits on your GPU.

More ai this month
the category →
I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.
AI · 17d ago · simedw.com
Astute▲585Automate your B2B brand going viral, with new media creators
AI · 18d ago · company-app.joinastute.com


Hey HN, Henry from Cactus here! We previously released Cactus Needle, a 14MB agentic LLM for tool call, device use, and structured extraction for phones, wearables, smart homes, small robots and microcontrollers. We got really great feedback here, and have now incorporated the suggestions to release Needle 2. The whole model is a single 14MB binary that runs a full session in 28MB of RAM; 45m parameters at 2bit compression. Needle hits 500 tokens/sec decode speed on a Raspberry Pi 5, sits between 400-1,500 tokens/sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges…
AI · 27d ago · cactuscompute.com


Launched alongside, February 2024
the whole month →


MarketingIdeas.com▲1,230Never run out of marketing ideas ever again
Growth · 2024 · marketingideas.com

