Update spectral_analysis.py

This commit is contained in:
Alexandre
2024-05-27 11:26:33 +02:00
committed by GitHub
parent 52d0805121
commit f4eb6f55a8

View File

@@ -12,7 +12,7 @@ from utils.helpers import get_settings
# Define the directory containing the WAV files
conf = get_settings()
input_directory = os.path.join(conf['RECS_DIR'], 'StreamData')
output_directory = '/config'
output_directory = os.path.join(conf['RECS_DIR'], 'Extracted/Charts')
# Ensure the output directory exists
if not os.path.exists(output_directory):