Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,44 @@
|
|
22 |
# - Play the audio in the frontend with st.audio(audio.export().read())
|
23 |
# - Save the audio to a file with audio.export("audio.wav", format="wav")
|
24 |
# JB: Waarom zie ik in mijn HF Spaces omgeving de file "audio.wav" niet terug ?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
#
|
26 |
# Installation:
|
27 |
# pip install streamlit-audiorecorder
|
|
|
22 |
# - Play the audio in the frontend with st.audio(audio.export().read())
|
23 |
# - Save the audio to a file with audio.export("audio.wav", format="wav")
|
24 |
# JB: Waarom zie ik in mijn HF Spaces omgeving de file "audio.wav" niet terug ?
|
25 |
+
# JB: 08-04-2024 - Mogelijk is caching al voldoende (anders file persistence)#
|
26 |
+
# Zie hiervoor:
|
27 |
+
#
|
28 |
+
# CACHING:
|
29 |
+
# ========
|
30 |
+
# STREAMLIT - Caching overview - Streamlit Docs - 07-04-2024 !!!!!
|
31 |
+
# https://docs.streamlit.io/develop/concepts/architecture/caching
|
32 |
+
#
|
33 |
+
# EVERNOTE :
|
34 |
+
# https://www.evernote.com/shard/s313/nl/41973486/31880952-8bd9-41ef-8047-ca844143e833/
|
35 |
+
# STREAMLIT - Caching overview - Streamlit Docs - 07-04-2024 !!!!!
|
36 |
+
#
|
37 |
+
# 08-04-2024
|
38 |
+
#
|
39 |
+
# EN
|
40 |
+
#
|
41 |
+
# PERSISTENCE:
|
42 |
+
# ============
|
43 |
+
# HF SPACES STREAMLIT APPS - GET PASSWORDS AND ACCESS TOKENS FROM HF ENVIRONMENT ! - PERSISTENT STORAGE ON HF SPACES ! - EAGLE SHELTER VERTAAL APP ETC ! - app.py · julien-c/persistent-data at main - 20-03-2024 !!!!! !!!!! !!!!!
|
44 |
+
# https://huggingface.co/spaces/julien-c/persistent-data/blob/main/app.py
|
45 |
+
#
|
46 |
+
# ——->
|
47 |
+
#
|
48 |
+
# DUPLICATED TO:
|
49 |
+
# https://huggingface.co/spaces/JBHF/persistent-data?logs=container
|
50 |
+
#
|
51 |
+
# EVERNOTE :
|
52 |
+
# https://www.evernote.com/shard/s313/nl/41973486/1b07098e-3376-4316-abb3-b3d0996ebf03/
|
53 |
+
# HF SPACES STREAMLIT APPS - GET PASSWORDS AND ACCESS TOKENS FROM HF ENVIRONMENT ! - PERSISTENT STORAGE ON HF SPACES ! - EAGLE SHELTER VERTAAL APP ETC ! - app.py · julien-c/persistent-data at main - 20-03-2024 !!!!! !!!!! !!!!!
|
54 |
+
#
|
55 |
+
# 08-04-2024
|
56 |
+
#
|
57 |
+
|
58 |
+
|
59 |
+
|
60 |
+
|
61 |
+
|
62 |
+
|
63 |
#
|
64 |
# Installation:
|
65 |
# pip install streamlit-audiorecorder
|