Spaces:
Sleeping
Sleeping
Fix ASSETS_DIR path to correctly reference the assets directory
Browse files
engine/audio_processor.py
CHANGED
|
@@ -43,7 +43,7 @@ class AudioProcessor:
|
|
| 43 |
"""
|
| 44 |
|
| 45 |
# Default background music directory
|
| 46 |
-
ASSETS_DIR = Path(__file__).parent
|
| 47 |
|
| 48 |
def __init__(self, config: Optional[AudioProcessingConfig] = None):
|
| 49 |
self.config = config or AudioProcessingConfig()
|
|
|
|
| 43 |
"""
|
| 44 |
|
| 45 |
# Default background music directory
|
| 46 |
+
ASSETS_DIR = Path(__file__).parent / "data" / "assets"
|
| 47 |
|
| 48 |
def __init__(self, config: Optional[AudioProcessingConfig] = None):
|
| 49 |
self.config = config or AudioProcessingConfig()
|