Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# JBHF/VERTAAL-APP-EAGLE-SHELTER/app.py -
|
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 |
-
|
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)
|