From Streamlit Official Website
From Streamlit Official Website

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 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?

  1. Register as a 21YunBox member
  2. Fork Streamlit
  3. Create a Cloud Service on the 21YunBox and allow the 21YunBox to access your code base
  4. Configure the following settings



Build command

pip3 install -r requirements.txt

Start command

sh && streamlit run

Note the configuration in 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 specializes in helping foreign businesses to host their websites in China. We deliver everything you and your team needs to build, run, and scale websites and apps in China.

Talk to an Expert

Create Professional Solutions for Your Industry and Business