Panel Integration with Hugging Face Spaces

Hugging Face and Panel have collaborated to integrate a Panel template into Hugging Face Spaces. This integration enables users to build and deploy Python-based applications and dashboards directly on the Hugging Face platform.

Panel Capabilities and Features

Panel is an open-source Python library from the HoloViz ecosystem—a NumFocus-sponsored project supported by Anaconda and Blackstone—that allows for the creation of powerful tools, dashboards, and complex applications using only Python.

Key technical capabilities of Panel include:

  • Broad Plotting Library Support: Panel supports a wide range of plotting libraries, including Plotly, Bokeh, Matplotlib, Seaborn, Altair, PyDeck, and Vizzu.
  • Jupyter and Standalone Parity: Interactivity functions identically in Jupyter notebooks and standalone deployments. This allows developers to transition seamlessly from data exploration in a notebook to sharing results via a dashboard.
  • Scalability of Application Complexity: The library supports the development of multi-page applications, the visualization of large datasets, the streaming of real-time data, and the implementation of advanced interactive features.
  • WebAssembly Integration: Through integration with Pyodide and WebAssembly, Panel applications can be executed directly within web browsers.

Deployment on Hugging Face Spaces

To facilitate the deployment of Panel apps, Hugging Face has introduced a dedicated Panel template in Hugging Face Spaces. This template streamlines the process of getting started and deploying Panel applications to the Hugging Face infrastructure.

Users can access deployment instructions via the official Hugging Face deployment documentation provided by Panel.

Sources