michaelpiro1 commited on
Commit
992349f
·
verified ·
1 Parent(s): bcc1179

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import streamlit as st
2
-
3
- # Add a selectbox to the sidebar:
 
 
4
  add_selectbox = st.sidebar.selectbox(
5
  'How would you like to be contacted?',
6
  ('Email', 'Home phone', 'Mobile phone')
 
1
  import streamlit as st
2
+ from soundlit import AudioWidget
3
+ # Custom streamlit component for audio recording and uploading
4
+ widget = AudioWidget()
5
+ audio = widget.load_audio()
6
  add_selectbox = st.sidebar.selectbox(
7
  'How would you like to be contacted?',
8
  ('Email', 'Home phone', 'Mobile phone')