In this chapter, we will discuss various form attributes used to elicit input from users and provide results accordingly. In ML applications, when we want to test our model or provide results to a user, we need to first collect input from the user. For example, if we want to apply a brightness or contrast value on an image before giving it to a model to predict, user inputs are needed to set these values and analyze the results associated with them. Uploading files also requires user input, and the user/client ...
6. Forms
Get Beginner's Guide to Streamlit with Python: Build Web-Based Data and Machine Learning Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.