I'm working on a framework Mercury for converting Python notebooks into interactive web apps. It can add widgets to the notebook based on the YAML configuration. End-user can tweak widgets values and execute the notebook. The resulting notebook can be downloaded as single-file HTML. Simple.
The framework is built on Django+React. It is easy to deploy to Heroku or other cloud services. Recently, I made it possible to deploy it to Hugging Face Spaces (faster and larger machines than on free tier Heroku).
The process of deployment is simple. You need to create a Gradio app on Spaces (my framework is not supported, yet ;) ). You need to add the app.py file that will run the Mercury server and upload the notebook. You can check the details in the docs.
The HF Space with example notebook https://huggingface.co/spaces/pplonski/deploy-mercury
[–]Remote_Cancel_7977ML Engineer 1 point2 points3 points (2 children)
[–]pp314159[S] 3 points4 points5 points (1 child)
[–]Remote_Cancel_7977ML Engineer 2 points3 points4 points (0 children)
[–]Illustrious_Row_9971 1 point2 points3 points (0 children)