1.將相關程式上傳到 github 上
1.1 申請帳號
... 設定好之後
1.2 解決token問題
用 cmd 登入出現,Support for password authentication was removed ..
解決方法:
設定(右上角) -> setting -> developer setting(左下角) -> personal access tokens --> token(classic)
--> 新增一組 (勾選 repo)
將 ghp_Hp439lMHB..... 記錄起來
1.3. 在cmd 登入時,用git remote set-url origin https://ghp_MCYmwayYuGX4.....UTB@github.com/xxxx/xxxx.git
將密碼填入,push 就可以用了
2. 登入streamlit cloud 上
產生 new app 即可使用,其中可在目錄內,放上 requirement.txt 解決安裝沒有模組問題。