JBHF commited on
Commit
91acae4
·
verified ·
1 Parent(s): 764093a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -10,7 +10,7 @@
10
  # Parameters
11
  # The signature of the component is:
12
  # audiorecorder(start_prompt="Start recording", stop_prompt="Stop recording", pause_prompt="", key=None):
13
- # The prompt parameters are self-explanatory, and the optionnal key parameter is used internally by streamlit
14
  # to properly distinguish multiple audiorecorders on the page.
15
  #
16
  # Return value
@@ -32,7 +32,8 @@ import streamlit as st
32
  from audiorecorder import audiorecorder
33
 
34
  st.title("Audio Recorder")
35
- audio = audiorecorder("Click to record", "Click to stop recording")
 
36
 
37
  if len(audio) > 0:
38
  # To play audio in frontend:
 
10
  # Parameters
11
  # The signature of the component is:
12
  # audiorecorder(start_prompt="Start recording", stop_prompt="Stop recording", pause_prompt="", key=None):
13
+ # The prompt parameters are self-explanatory, and the optional key parameter is used internally by streamlit
14
  # to properly distinguish multiple audiorecorders on the page.
15
  #
16
  # Return value
 
32
  from audiorecorder import audiorecorder
33
 
34
  st.title("Audio Recorder")
35
+ # audiorecorder(start_prompt="Start recording", stop_prompt="Stop recording", pause_prompt="", key=None):
36
+ audio = audiorecorder("Click to record", "Click to stop recording", "Click to pause recording")
37
 
38
  if len(audio) > 0:
39
  # To play audio in frontend: