JBHF commited on
Commit
38f82b7
1 Parent(s): c82f149

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- # JBHF/VERTAAL-APP-EAGLE-SHELTER/app.py - 26-03-2024
2
  # WERKT AL: DE OPGENOMEN AUDIO MBV DEZE APP, audio.wav, HOEFT NIET PERSÉ GEPERSISTEERD TE WORDEN !!!!!!
3
 
4
  # https://github.com/theevann/streamlit-audiorecorder
@@ -161,7 +161,7 @@ audio = audiorecorder("Click to record", "Click to stop recording", "Click to pa
161
  # JB:
162
  # https://docs.streamlit.io/develop/concepts/architecture/caching
163
  # @st.cache_data
164
- @st.cache_resource # 👈 Add the caching decorator
165
  def audio_export(audio_wav_file, format):
166
  # audio.export("audio.wav", format="wav") # ORIGINAL
167
  audio.export(audio_wav_file, format=format)
 
1
+ # JBHF/VERTAAL-APP-EAGLE-SHELTER/app.py - 10-04--2024
2
  # WERKT AL: DE OPGENOMEN AUDIO MBV DEZE APP, audio.wav, HOEFT NIET PERSÉ GEPERSISTEERD TE WORDEN !!!!!!
3
 
4
  # https://github.com/theevann/streamlit-audiorecorder
 
161
  # JB:
162
  # https://docs.streamlit.io/develop/concepts/architecture/caching
163
  # @st.cache_data
164
+ #@st.cache_resource # 👈 Add the caching decorator
165
  def audio_export(audio_wav_file, format):
166
  # audio.export("audio.wav", format="wav") # ORIGINAL
167
  audio.export(audio_wav_file, format=format)