transcript / app.py
Neal Caren
Testing file size limits
faf2a27
raw
history blame
No virus
315 Bytes
import streamlit as st
uploaded_file = st.file_uploader("Choose a file")
number_of_speakers = st.number_input('Insert a number')
st.write('The current number is ', number_of_speakers)
if uploaded_file is not None:
# To read file as bytes:
bytes_data = uploaded_file.getvalue()
st.write(bytes_data)