Refactored everything
This commit is contained in:
12
run.ps1
Normal file
12
run.ps1
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user