Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Static HTML Spaces

Spaces also accommodate custom HTML for your app instead of using Streamlit or Gradio. Set sdk: static inside the YAML block at the top of your Spaces file. Then you can place your HTML code within an index.html file.

Here are some examples of Spaces using custom HTML:

  • Smarter NPC: Display a PlayCanvas project with an iframe in Spaces.
  • Huggingfab: Display a Sketchfab model in Spaces.