What is Streamlit?
Streamlit is the first development framework that was specifically designed for the application for machine learning and data science teams. It is the fastest way to develop custom machine learning tools. You can think that its goal is to replace Flask in machine learning projects. Streamlit can also help machine learning engineers quickly develop user interaction tools.
21YunBox provides a very simple Streamlit deployment method. You can quickly and easily deploy with 21YunBox in the Python environment.
How to Deploy Streamlit in China?
- Register as a 21YunBox member
- Fork Streamlit
- Create a Cloud Service on the 21YunBox and allow the 21YunBox to access your code base
- Configure the following settings
Environment
PYTHON 3.7
Build command
pip3 install -r requirements.txt
Start command
sh setup.sh && streamlit run app.py
Note the configuration in setup.sh
in the example,
Streamlit startup parameters. If you have special needs, you can refer to the parameters provided in Streamlit official documentation to configure .
5. Click "Create Now"
If the description of the above text is not clear, you can refer this step by step example video:
How to deploy Streamlit to the server?
Why Choose 21YunBox?
21YunBox is a Cloud Service Platform based out of Beijing, China. Our services provides you with an easy and budget friendly, end-to-end web platform deployment service for all applications and stacks. No matter your need, we have a flexible solution to assist.
If needed, we also offer full support in obtaining your ICP license which allows you to legally host online content within Mainland China.
To learn about the differences between 21YunBox and these foreign (outside of China) cloud service platforms, please refer to:
- 21YunBox vs Heroku
- 21YunBox vs Netlify
- 21YunBox vs Vercel
- 21YunBox vs Gatsby Cloud
- 21YunBox vs Github Pages
- 21YunBox vs Surge.sh
- Compare in terms of function and price: 21YunBox vs Heroku, Netlify, Vercel
This article's content originated here
For additional detail and future modifications, refer the original post.
Top comments (0)