Neal Caren commited on
Commit
faf2a27
1 Parent(s): 5c723c0

Testing file size limits

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+
4
+ uploaded_file = st.file_uploader("Choose a file")
5
+
6
+ number_of_speakers = st.number_input('Insert a number')
7
+
8
+ st.write('The current number is ', number_of_speakers)
9
+
10
+ if uploaded_file is not None:
11
+ # To read file as bytes:
12
+ bytes_data = uploaded_file.getvalue()
13
+ st.write(bytes_data)