-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App theme #77
base: main
Are you sure you want to change the base?
Conversation
|
||
# Font family for all text in the app, except code blocks. One of "sans serif", "serif", or "monospace". | ||
# Default: "sans serif" | ||
font="calibri" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to remove this line in order to use this config.toml
file, otherwise was getting an error message that font was duplicated in line 189.
#st.set_page_config(layout="wide") | ||
|
||
|
||
#image = Image.open('image/TAXA.png') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should use this image object instead of opening the file in the markdown. I had to include the full path (assumes that the app is run from the root directory) of image = Image.open('src/apps/image/TAXA.png')
with colophon: | ||
|
||
|
||
st.markdown( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would remove this st.markdown(..
call and replace with st.image(image, caption="Help discover species occurrences hiding in library collections.")
that you have commented out in line 16.
st.write('# Help discover species hiding in library collections.') | ||
|
||
st.write("The Stanford Libraries AI group is training computers to recognize species occurrence data in digitized student papers. By verifying the genus-species, the time, and location, you can help check the computers' work and improve the model.") | ||
st.button("GET STARTED") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the intention that when the user clicked on this button, we would load of the spoc_verifier
app?
This includes a config.toml file that lives in .streamlit and colophon.py which is just a container that could all go in a sidebar or be a first page with the button taking you to the verifier.