bsant576/tensorflow_pract
0
1---2title: Tensorflow Practice3emoji: 🦀4colorFrom: pink5colorTo: blue6sdk: docker7pinned: false8license: apache-2.09app_port: 850110---11 12 13## Introduction to Streamlit with Docker14 15## Overview16 17Location: Rexburg, Idaho When: July 16, 202418 19This material uses [Polars](https://pola-rs.github.io/polars-book/user-guide/) and focuses [Streamlit](https://streamlit.io/) and dashboarding to introduce the data science app development process.20 21## Installing the tools22 23We will need [Visual Studio Code](https://code.visualstudio.com/download) and [Python](https://www.python.org/downloads/) installed for this short course. Each tool has additional packages/extensions that we will need to install as well.24 25### Visual Studio Code Extensions26 27You can use [Managing Extensions in Visual Studio Code](https://code.visualstudio.com/docs/editor/extension-marketplace) to learn how to install extensions. We will use [Python - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=ms-python.python) extension heavily. [Managing Extensions in Visual Studio Code](https://code.visualstudio.com/docs/editor/extension-marketplace) provides more background on extensions if needed.28 29## Repo Navigation30 31### `guides` folder32 33The `guides` folder has cheat sheets for polars and streamlit34 35### `scripts_build` folder36 37The `scripts_build` folder has the munging scripts that built the data for the app we will explore.38 39### Other key files40 41- The [slides.html](slides.html) is a Remark Slides presentation on Dashboarding. You can read more at [remark_slides.md](remark_slides.md). The slides are embedded in the default Streamlit app for this repository.42- [Dockerfile](Dockerfile) is the build script for our Docker Image43- [docker-compose.yml](docker-compose.yml) provides an easy way to start our docker container. [Docker Compose](https://docs.docker.com/compose/#:~:text=It%20is%20the%20key%20to,single%2C%20comprehensible%20YAML%20configuration%20file.) is _'the key to unlocking a streamlined and efficient development and deployment experience.'_44- [requirements.txt](requirements.txt) is run from the [Dockerfile](Dockerfile) and installs the needed Python packages.45- [README.md](README.md) is this file. The `YAML` at the top is necessary for the Streamlit app to work correctly. Specifically the `app_port: 8501` is needed. All other information can and should be manipulated.46- [streamlit.py] is our Streamlit app.47- The remaining files are data files. 48 49### Final notes50 51Here is how to sync a Github repo with Hugging face.52 53- [Sync with Github Actions](https://dev.to/0xkoji/sync-github-repo-and-hugging-face-space-repo-with-github-actions-3ca1)