| Function signature[source] | |
|---|---|
st.progress(value, text=None) | |
| Parameters | |
value (int or float) | 0 <= value <= 100 for int 0.0 <= value <= 1.0 for float |
text (str or None) | A message to display above the progress bar. The text can optionally contain Markdown and supports the following elements: Bold, Italics, Strikethroughs, Inline Code, Emojis, and Links. This also supports:
Unsupported elements are unwrapped so only their children (text contents) render. Display unsupported elements as literal characters by backslash-escaping them. E.g. 1\. Not an ordered list. |
Example
Here is an example of a progress bar increasing over time:
Python
Still have questions?
Our forums are full of helpful information and Streamlit experts.
