白嫖一个Cloud部署自己的算法程序
1、github上创建部署的项目
项目包括streamlit
执行文件和requirements.txt
文件。requirements.txt
文件的创建可以参考Python中一些好用的扩展包中pipreqs
的用法。
github
上的项目
{% link pdf2png,King-Key,https://github.com/King-Key/pdf2png %}
2、Streamlit Cloud上部署项目
Streamlit Cloud 地址:https://share.streamlit.io/
- 点击
new app
-from existing repo
- 从github中选择要部署的项目
- 最后进行部署即可
部署成功后,会提供一个地址,点击进入就可以使用了