The following steps need to be completed to deploy AudioNotes locally:
- environmental preparation:: Ensure that the device meets the Python 3.10+ environment, it is recommended to use conda to manage the virtual environment; the PostgreSQL database needs to be pre-installed (version 12+)
- Code Fetch: get the latest code base through git clone, note that the project relies on deep learning frameworks including PyTorch, it is recommended to use NVIDIA GPU acceleration!
- Configuration adjustments: The .env configuration file needs to be modified, key parameters include:
- Database connection string (DATABASE_URL)
- Model Path (LOCAL_MODEL_PATH)
- Service port (APP_PORT)
- service activation: Start the web service via chainlit, the first run will automatically download the model weights file (about 5-8GB)
For development and testing environments, Docker deployment is recommended to simplify dependency management. Production environment deployment recommended configuration: 4-core CPU/16GB RAM/8GB video memory to start with, long audio processing requires greater video memory support.Windows system need to pay attention to the path escape problem, Linux/macOS compatibility is better.
This answer comes from the articleAudioNotes: Quickly Extract Audio and Video Content and Generate Structured NotesThe




























