Download Update.ps1 from smartdigitalnetworks/generativeexpressioneditor: direct link, hf CLI and curl.
- Browser
- Download file 270 Bytes
-
https://huggingface.co/spaces/smartdigitalnetworks/generativeexpressioneditor/resolve/main/Update.ps1
- Command line
-
hf download hf://spaces/smartdigitalnetworks/generativeexpressioneditor/Update.ps1
-
curl -L -o Update.ps1 https://huggingface.co/spaces/smartdigitalnetworks/generativeexpressioneditor/resolve/main/Update.ps1
270 Bytes
| try { | |
| git pull origin master 2>$null | |
| if ($LASTEXITCODE -eq 0) { | |
| Write-Output "Successfully updated WebUI." | |
| } else { | |
| throw | |
| } | |
| } catch { | |
| git reset --hard | |
| git pull origin master | |
| Write-Output "Successfully updated WebUI." | |
| } | |
| pause | |