Open wbleonard opened 10 months ago
Maybe the streamlit FileUploader component...
import streamlit as st
def main():
# Create a file uploader component
uploaded_file = st.file_uploader("Choose a file")
# Check if a file was uploaded
if uploaded_file is not None:
# Read the contents of the file
file_contents = uploaded_file.read()
# Display the file contents
st.write("File contents:")
st.write(file_contents)
if __name__ == "__main__":
main()
Was able to add it -- but really messes with the layout....
Streamlit doesn't currently support complex layouts natively
In addition to Google search results, add the ability to upload materials (that may not be public) for learning.