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 README.md 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.