Deploy to Hugging Face¶
Hugging Face is a platform that allows you to deploy machine learning models and applications easily. You can deploy a marimo notebook as an interactive web app on Hugging Face Spaces with just a few steps.
Deploy¶
To deploy your marimo notebook to Hugging Face Spaces:
Create a new Space on Hugging Face by forking or copying the following template: https://huggingface.co/spaces/marimo-team/marimo-app-template/tree/main
Replace the contents of the
app.py
file with your marimo notebook.Update the
requirements.txt
file to include any other dependencies your notebook requires.Commit these files to your Space, and Hugging Face will automatically deploy your marimo notebook as an interactive web app.
For more detailed instructions and advanced configurations, please refer to the Hugging Face Spaces documentation.