Skip to main content

Utility Commands

Transfer Learning provides several utility commands to help manage the application, clean up resources, and configure settings.

Cleanup Command

The cleanup command removes temporary files and directories that are older than a specified age.

Usage

Options

Examples

Stop Command

The stop command stops running processes and cleans up resources.

Usage

Options

Examples

Config Command

The config command allows you to view and modify configuration settings.

Usage

Options

Examples

Interactive Configuration

When run without options, the config command enters an interactive mode that allows you to configure various settings:
This will display a menu of configuration options:
  1. API Keys
  2. Processing Settings
  3. Output Directories
  4. Model Settings
  5. 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: