File size: 315 Bytes
faf2a27
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)