TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Gradio Notebook– Notebook UX for Generative AI models in Hugging Face

9 pointsby saqadriover 1 year ago
TLDR: Gradio Notebook is a notebook component for generative AI that offers the fastest way to create a Hugging Face space (in &lt; 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:<p>https:&#x2F;&#x2F;huggingface.co&#x2F;spaces&#x2F;lastmileai&#x2F;gradio-notebook-template<p>Hi HN Community!<p>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.<p>If you&#x27;re a Hugging Face space creator looking for speed and ease of development, Gradio Notebook gets your space ready in 5 minutes with &lt; 10 lines of code (without having to build your own UI at all).<p>Key features:<p>* Use any combination of text, image, or audio models in a single space, and even chain models together.<p>* 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.<p>* Get a shareable URL to share the space outputs with others (my personal favorite feature, since it isn’t possible on HF today).<p>* Download your space config (prompts and model settings) as a JSON file, and use it in your application via our SDK [2].<p>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 <i>build</i> spaces, please give this a try and get in touch!<p>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<p>[1] Link to Quickstart:<p>https:&#x2F;&#x2F;huggingface.co&#x2F;spaces&#x2F;lastmileai&#x2F;gradio-notebook-template<p>[2] SDK:<p>https:&#x2F;&#x2F;aiconfig.lastmileai.dev&#x2F;docs&#x2F;gradio-notebook#gradio-notebook-api<p>[3] Gradio Notebook Docs:<p>https:&#x2F;&#x2F;aiconfig.lastmileai.dev&#x2F;docs&#x2F;gradio-notebook<p>[4] Repo (it’s all open source):<p>https:&#x2F;&#x2F;github.com&#x2F;lastmile-ai&#x2F;aiconfig&#x2F;tree&#x2F;main&#x2F;gradio-notebook

3 comments

smcleodover 1 year ago
Nice template notebook. It would be really good if by default it used local-first &#x2F; open LLM models, I see AIConfig currently requires an extension to use these - really I think they should be first class citizens.
评论 #39392294 未加载
russdpaleover 1 year ago
Competencies<p><pre><code> Great communication skills Hustle Speed </code></pre> Ok, the first one is normal, but hustle and speed tells me you don&#x27;t respect my time or that the job be done right.
评论 #39392275 未加载
raghavs0over 1 year ago
This is sick! Love that I can test a bunch of different models in the same Space. Would love to know - can I use non-Hugging Face models too?
评论 #39393126 未加载