Utility Commands
Transfer Learning provides several utility commands to help manage the application, clean up resources, and configure settings.Cleanup Command
Thecleanup command removes temporary files and directories that are older than a specified age.
Usage
Options
Examples
Stop Command
Thestop command stops running processes and cleans up resources.
Usage
Options
Examples
Config Command
Theconfig command allows you to view and modify configuration settings.
Usage
Options
Examples
Interactive Configuration
When run without options, theconfig command enters an interactive mode that allows you to configure various settings:
- API Keys
- Processing Settings
- Output Directories
- Model Settings
- Advanced Settings
Configuration Settings
The following settings can be configured:API Keys
- OpenAI API Key
- Other service API keys
Processing Settings
- Batch size
- Maximum concurrent batches
- Frame interval
- Default quality
Output Directories
- Data directory
- Guides directory
- Transcripts directory
- Videos directory
- Analysis directory
Model Settings
- Default OpenAI model
- Default Whisper model
- Temperature
Advanced Settings
- Cache settings
- Logging level
- Metrics collection
Configuration File
The configuration is stored in a.env file in the application directory. You can also manually edit this file if needed.
Example .env file: