Spaces:
Runtime error
Runtime error
File size: 465 Bytes
a29cf7e 0a03745 a29cf7e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
from pathlib import Path
CURR_DIR = Path(__file__).resolve().parent
EXAMPLES_DIR = CURR_DIR / "examples"
EXAMPLES = [
[EXAMPLES_DIR / "acoustic_guitar.wav", "acoustic guitar"],
[EXAMPLES_DIR / "laughing.wav", "laughing"],
[
EXAMPLES_DIR / "ticktok_piano.wav",
"A ticktock sound playing at the same rhythm with piano.",
],
[EXAMPLES_DIR / "water_drops.wav", "water drops"],
[EXAMPLES_DIR / "noisy_speech.wav", "speech"],
]
|