sahandkh1419 commited on
Commit
31057e3
1 Parent(s): 431feaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ def take_challenge(music_file, typed_lyrics, key):
104
  st.write('------')
105
  st.write("Listen to music since you have to record 15seconds after that")
106
  st.audio(music_file)
107
- audio_value = st.experimental_audio_input("Sing Rest of music:🎙️", key)
108
  if audio_value:
109
  with open("user_sing.mp3", "wb") as f:
110
  f.write(audio_value.getbuffer())
 
104
  st.write('------')
105
  st.write("Listen to music since you have to record 15seconds after that")
106
  st.audio(music_file)
107
+ audio_value = st.experimental_audio_input("Sing Rest of music:🎙️", key=key)
108
  if audio_value:
109
  with open("user_sing.mp3", "wb") as f:
110
  f.write(audio_value.getbuffer())