diff --git a/powershai/providers/huggingface.ps1 b/powershai/providers/huggingface.ps1 index 8a0026d..2231881 100644 --- a/powershai/providers/huggingface.ps1 +++ b/powershai/providers/huggingface.ps1 @@ -1759,6 +1759,9 @@ function New-GradioSessionApiProxyFunction { + $Istype = Get-Command IsType; + $verbose = Get-Command verbose; + $FuncScript = { [CmdletBinding()] param($FuncData) @@ -1769,6 +1772,15 @@ function New-GradioSessionApiProxyFunction { return $FuncData; } + + function IsType { + & $IsType @Args; + } + + function verbose { + & $verbose @Args; + } + #objeto passado no pipeline! $PipeObj = $FuncData.PipeObj;