Next.js on 🤗 Spaces

Run your ML demo with ease in a Next.js environment

Duplicate spaceContribute on GitHub
  • Features
  • huggingface.js components (WIP)
  • langchain.js and hyv components (comming soon)
  • Rapid prototyping with MUI
  • Dark / light theme based on system preferences
  • Sync your GitHub repository with your 🤗 Space
  • Runs in Docker or localhost

Explore the README for a comprehensive guide on local development, Docker utilization, secret management, and GitHub-based Space control.

Have feedback or ideas? We're eager to hear from you! As an open-source project in its early stages, your input can significantly shape our development.


Components

Unsure where to begin? Our pre-built components offer a jumpstart for your ML demo 🚀

huggingface.js

huggingface.js is a suite of JavaScript libraries that interact with the Hugging Face API. It enables the use of over 100,000 ML models or your own via the Inference API, and supports managing Hugging Face repositories.

Summarization
<Summarization model="facebook/bart-large-cnn" maxLength={100} />
Options
max_length
Examples

More comming soon!