PixelPolo/ElixirSampleCode
0
1<!-- livebook:{"app_settings":{"access_type":"public","output_type":"rich","slug":"welcome"}} -->2 3# Livebook <3 Hugging Face4 5```elixir6Mix.install([7 {:kino, "~> 0.13"}8])9```10 11## Section12 13This is the source of a deployed notebook.14This notebook is static and simply renders the markdown content below.15 16```elixir17Kino.Markdown.new("""18Welcome to Livebook in Hugging Face!19 20This is a deployed notebook, which is also a perfect place to teach you21the ropes in using Livebook with Hugging Face.22 23## Getting started24 25First off, if you want to run your own copy of Livebook,26[check our tutorial](https://news.livebook.dev/livebook-inside-hugging-face-spaces-3LQaRi).27Once you clone the space, remember to set `LIVEBOOK_PASSWORD` as28an environment variable on your Space Settings page (a minimum of2912 digits is required).30 31If you are new to Elixir and Livebook, [head out to the Learn page](/learn)32(it requires a password), there you will find resources to get started33with both.34 35## Deploying notebooks36 37Livebook is fully collaborative and it enables you to deploy interactive38and collaborative apps just as well. All of your deployable notebooks will39be in the "public-apps" directory of your Spaces repository.40 41To deploy your own notebook on Hugging Face, you must click the42<i class="ri-livebook-deploy"></i> icon on the notebook sidebar, set a "Slug"43for the notebook, mark it as public and then drop its `.livemd` file into44the "public-apps" directory of your Spaces repo.45""")46```47 