{ "cells": [ { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "Streamlit seems a great alternative to notebooks if I'm preparing something to actually be seen and used vs. just documenting code. Therefore that is what this notebook is; do not use in place of actual code/app, this is simply documenting how I've constructed things." ] }, { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "Big one: We can use poetry to manage dependencies and environments, tremendous. However, if I'm using huggingface to host and deploy, one can use poetry to manage repo/dev, but huggingface won't know what the fuck is going on. It needs its own requirements.txt for dependencies. Therefore can simply use this when ready to push and poetry -> requiremnets.txt" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "vscode": { "languageId": "shellscript" } }, "outputs": [], "source": [ "poetry export -f requirements.txt --output requirements.txt" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "language_info": { "name": "python" }, "orig_nbformat": 4 }, "nbformat": 4, "nbformat_minor": 2 }