© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
S. RaghavendraBeginner's Guide to Streamlit with Python https://doi.org/10.1007/978-1-4842-8983-9_6

6. Forms

Sujay Raghavendra1  
(1)
Dharwad, Karnataka, India
 

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

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.