Spaces:
Runtime error
Runtime error
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) | |