13 lines
346 B
PowerShell
13 lines
346 B
PowerShell
# Run Smart GPU Encoder (Wrapper)
|
|
$ScriptPath = "$PSScriptRoot\smart_gpu_encoder.py"
|
|
$PythonPath = "python"
|
|
|
|
# Default to interactive mode if no args
|
|
if ($args.Count -eq 0) {
|
|
Write-Host "Starting Smart Encoder..." -ForegroundColor Cyan
|
|
& $PythonPath $ScriptPath
|
|
} else {
|
|
# Pass through arguments
|
|
& $PythonPath $ScriptPath $args
|
|
}
|