Spaces:
Runtime error
Runtime error
yourusername
commited on
Commit
•
a6fb3e3
1
Parent(s):
29eba4d
:bento: add example audio file for the demo
Browse files- app/app.py +2 -2
- example.wav +0 -0
app/app.py
CHANGED
@@ -124,14 +124,14 @@ def get_transforms():
|
|
124 |
|
125 |
# 🚨 TODO - messy. clean me pls.
|
126 |
|
127 |
-
audio_file = open('./
|
128 |
audio_bytes = audio_file.read()
|
129 |
|
130 |
st.markdown("## Input Audio")
|
131 |
st.audio(audio_bytes, format='audio/ogg')
|
132 |
|
133 |
# Run the audio through this pedalboard!
|
134 |
-
audio, sample_rate = sf.read('./
|
135 |
board = Pedalboard(get_transforms(), sample_rate=sample_rate)
|
136 |
effected = board(audio)
|
137 |
|
|
|
124 |
|
125 |
# 🚨 TODO - messy. clean me pls.
|
126 |
|
127 |
+
audio_file = open('./example.wav', 'rb')
|
128 |
audio_bytes = audio_file.read()
|
129 |
|
130 |
st.markdown("## Input Audio")
|
131 |
st.audio(audio_bytes, format='audio/ogg')
|
132 |
|
133 |
# Run the audio through this pedalboard!
|
134 |
+
audio, sample_rate = sf.read('./example.wav')
|
135 |
board = Pedalboard(get_transforms(), sample_rate=sample_rate)
|
136 |
effected = board(audio)
|
137 |
|
example.wav
ADDED
Binary file (882 kB). View file
|
|