Build AI Applications with Streamlit
Build a working triage desk in Streamlit from the ground up: the rerun model, widgets, layout, session state and caching, then put a scikit-learn text classifier behind it with no API keys, and finish with multipage structure, secrets, tests and deployment.
- Intermediate level
- 5 modules
- 11 lessons
- 65 quiz questions
Syllabus
01Streamlit BasicsHow a Streamlit app runs, why every click reruns your whole script, and how widgets hand values back to it.2 lessons
02Layout and DataPut text, tables, charts and headline numbers on the page, arrange it with a sidebar, columns and tabs, and accept a CSV without crashing before anything has been uploaded.3 lessons
03State and CachingKeep values alive between reruns with session state, handle button clicks and forms without fighting the rerun model, stop repeating expensive work with the two caching decorators, and save a log to a database.2 lessons
04Putting a Model in the AppTrain a small scikit-learn text classifier, load it once with a cached resource, flag the scores it is unsure about, score a whole CSV, and wrap it in a chat interface, all without an API key.2 lessons
05Ship ItSplit the app into pages, keep passcodes and keys out of the source, protect the model page with a test, and deploy to Streamlit Community Cloud with pinned dependencies.2 lessons