Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
fixed paths
Murtaza Nasira4124887c124
diff --git a/README.md b/README.mdindex e22688f5..04b0e28b 100644--- a/README.md+++ b/README.md@@ -485,7 +485,7 @@ Tags make Speakr very flexible, allowing you to maintain consistent formatting a<details><summary><strong>Advanced Configuration & Technical Details</strong></summary>-**For detailed deployment instructions and information about the various API's used, see the [Deployment Guide](DEPLOYMENT_GUIDE.md#configuration-options)**+**For detailed deployment instructions and information about the various API's used, see the [Deployment Guide](docs/DEPLOYMENT_GUIDE.md#configuration-options)**The recommended method is to use the pre-built Docker image, which is fast and simple. This is explained above.@@ -501,7 +501,7 @@ Speakr includes a powerful "black hole" directory monitoring feature that automa4. **Automatic Processing:** Files are moved to the uploads directory and processed using your configured transcription settings5. **Database Integration:** Processed recordings appear in your gallery with the title "Auto-processed - [filename]"-**For detailed instructions on setting this up, see the [Deployment Guide](DEPLOYMENT_GUIDE.md#automated-file-processing-black-hole-directory)**+**For detailed instructions on setting this up, see the [Deployment Guide](docs/DEPLOYMENT_GUIDE.md#automated-file-processing-black-hole-directory)**</details>diff --git a/tests/test_inquire_mode.py b/tests/test_inquire_mode.pyindex 61a68aca..cf6ea17d 100644--- a/tests/test_inquire_mode.py+++ b/tests/test_inquire_mode.py@@ -4,6 +4,10 @@ Test script for Inquire Mode functionality"""import osimport sys++# Add the parent directory to the path to import app+sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))+from app import app, db, User, Recording, TranscriptChunk, InquireSession, Tagdef test_database_models():diff --git a/tests/test_json_fix.py b/tests/test_json_fix.pyindex be7645ae..d0054ce4 100644--- a/tests/test_json_fix.py+++ b/tests/test_json_fix.py@@ -2,8 +2,8 @@ import jsonimport sysimport os-# Add the current directory to the path to import app-sys.path.append(os.path.dirname(os.path.abspath(__file__)))+# Add the parent directory to the path to import app+sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from app import auto_close_json, safe_json_loadsdiff --git a/tests/test_json_preprocessing.py b/tests/test_json_preprocessing.pyindex bb07cae7..436c5d69 100644--- a/tests/test_json_preprocessing.py+++ b/tests/test_json_preprocessing.py@@ -11,7 +11,7 @@ import unittestfrom unittest.mock import Mock# Add the app directory to the path so we can import from app.py-sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))+sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))# Mock the Flask app and logger for testingclass MockApp: