Update src/streamlit_app.py
Browse files- src/streamlit_app.py +5 -3
src/streamlit_app.py
CHANGED
@@ -8,9 +8,11 @@ import sys
|
|
8 |
import os
|
9 |
|
10 |
# Add root directory to Python path
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
14 |
|
15 |
from utils.audio_processing import trim_audio, download_audio_as_wav
|
16 |
from utils.video_processing import trim_video
|
|
|
8 |
import os
|
9 |
|
10 |
# Add root directory to Python path
|
11 |
+
print("🧠 DEBUG: sys.path =", sys.path)
|
12 |
+
print("🧠 DEBUG: current file path =", os.path.abspath(__file__))
|
13 |
+
print("🧠 DEBUG: root path =", os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
14 |
+
|
15 |
+
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
16 |
|
17 |
from utils.audio_processing import trim_audio, download_audio_as_wav
|
18 |
from utils.video_processing import trim_video
|