Skip to content

Commit

Permalink
Fix import in example and set sidebar state to closed.
Browse files Browse the repository at this point in the history
  • Loading branch information
hreikin committed Mar 8, 2023
1 parent cc85546 commit 768c7db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pages/Gallery.py
Expand Up @@ -4,7 +4,6 @@
# Configure page title, layout, menu items and links.
st.set_page_config(
page_title="Streamlit Uploads Library",
layout="wide",
menu_items={
"Get Help": "https://github.com/hreikin/streamlit-uploads-library",
"Report a bug": "https://github.com/hreikin/streamlit-uploads-library/issues",
Expand Down Expand Up @@ -90,7 +89,7 @@ def create_gallery(self):
"""
example_usage_code = """
import streamlit as st
from streamlit_uploads_library import Gallery
from streamlit_uploads_library.gallery import Gallery
st.set_page_config(page_title="Streamlit Uploads Library", layout="wide")
default_gallery = Gallery(directory="assets")
Expand Down

0 comments on commit 768c7db

Please sign in to comment.