diff --git a/run_gui.ps1 b/run_gui.ps1 index 39ac7a94..4a7ea8ee 100644 --- a/run_gui.ps1 +++ b/run_gui.ps1 @@ -1,6 +1,14 @@ +param( + [Parameter(Mandatory=$false)] + [string]$hostname = "127.0.0.1", + + [Parameter(Mandatory=$false)] + [string]$port = "28000" +) + .\venv\Scripts\activate $Env:HF_HOME = "huggingface" $Env:PYTHONUTF8 = "1" -python gui.py \ No newline at end of file +python gui.py $hostname $port