voila-dashboards / voila

Voilà turns Jupyter notebooks into standalone web applications
https://voila.readthedocs.io
Other
5.42k stars 503 forks source link

Document how to deploy to Hugging Face Spaces #1373

Closed jtpio closed 1 year ago

jtpio commented 1 year ago

Problem

Hugging Face, via its Spaces, provides a convenient way to deploy Voila apps for free by pushing to a repo (similar to Heroku).

They also have a generous free tier: https://huggingface.co/docs/hub/spaces-overview#hardware-resources

image

Suggested Improvement

Add a section to the documentation to show how to deploy to Hugging Face Spaces: https://voila.readthedocs.io/en/stable/deploy.html#cloud-service-providers

We could also create https://github.com/voila-dashboards/voila-huggingface and have an example automatically deployed to HuggingFace Spaces via CI.

jtpio commented 1 year ago

automatically deployed to HuggingFace Spaces via CI.

I created the voila-dashboards organization on Hugging Face where we could deploy such example application: https://huggingface.co/voila-dashboards

jtpio commented 1 year ago

create https://github.com/voila-dashboards/voila-huggingface

This could be bootstrapped from https://github.com/opengeos/voila-geospatial (tracked in https://github.com/opengeos/voila-geospatial/issues/1) which is already a good example.