TaahKay commited on
Commit
1a77946
·
verified ·
1 Parent(s): 595c49c

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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
- ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
12
- if ROOT_DIR not in sys.path:
13
- sys.path.insert(0, ROOT_DIR)
 
 
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