Skip to content

Commit

Permalink
Adds code tags around variable names.
Browse files Browse the repository at this point in the history
  • Loading branch information
hreikin committed Mar 14, 2023
1 parent 59cb60d commit e0dd027
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pages/Library.py
Expand Up @@ -197,12 +197,12 @@ class from `streamlit_uploads_library.library` and then instantiate the class wi
`directory` variable. Other options can be configured by passing in different variables when
instantiating the class.
- directory (required): A str() of the path to the folder containing the library images, for example, "assets".
- file_extensions (optional): A tuple() containing strings of the file extensions to include in the library, default is (".png", ".jpg", ".jpeg").
- image_alignment (optional): A str() with the CSS keyword used to align the images and details columns.
- number_of_columns (optional): An int() defining the number of required columns, default is 5.
- show_details (optional): A bool() to show or hide the file and edit details, False hides them, default is True to show them.
- uid (optional): A str() containing a unique identifier allowing you to create multiple libraries on the same page containing the same images.
- `directory` (required): A str() of the path to the folder containing the library images, for example, "assets".
- `file_extensions` (optional): A tuple() containing strings of the file extensions to include in the library, default is (".png", ".jpg", ".jpeg").
- `image_alignment` (optional): A str() with the CSS keyword used to align the images and details columns.
- `number_of_columns` (optional): An int() defining the number of required columns, default is 5.
- `show_details` (optional): A bool() to show or hide the file and edit details, False hides them, default is True to show them.
- `uid` (optional): A str() containing a unique identifier allowing you to create multiple libraries on the same page containing the same images.
"""
)
st.code(
Expand Down

0 comments on commit e0dd027

Please sign in to comment.