ローカル環境で実行
Streamlit
$ streamlit run app.py You can now view your Streamlit app in your browser. Local URL: http://localhost:8502 Network URL: http://172.23.142.225:8502
Gradio
インターネットに公開
Streamlit Community Cloud – Github連携
Githubにコミット
【GUI】Githubで、お目当てのリポジトリへ app.py と requirement.txt をプッシュ

【CLI】gitでGithubにプッシュ
# requirements.txtの作成
$ pip freeze | grep {module_name}
ex) streamlit==1.31.1
$ echo "streamlit" > requirements.txt # latest / ==version
$ less requirements.txt
streamlit
# githubにcommit
$ git init
$ git remote add origin https://github.com/...
$ git add .
$ git commit -m"1st commit"
$ git push origin master
(commitすると自動でmain branchが作成される)
Streamlit Community Cloud でデプロイ
Streamlit Community Cloud で NewApp からデプロイ

↓
