Spaces:
Sleeping
Sleeping
Download Scripts/deactivate.nu from Rockk08/FaceRecognition_Docker: direct link, hf CLI and curl.
- Browser
- Download file 333 Bytes
-
https://huggingface.co/spaces/Rockk08/FaceRecognition_Docker/resolve/main/Scripts/deactivate.nu
- Command line
-
hf download hf://spaces/Rockk08/FaceRecognition_Docker/Scripts/deactivate.nu
-
curl -L -o deactivate.nu https://huggingface.co/spaces/Rockk08/FaceRecognition_Docker/resolve/main/Scripts/deactivate.nu
333 Bytes
| # Setting the old path | |
| let path-name = (if ((sys).host.name == "Windows") { "Path" } { "PATH" }) | |
| let-env $path-name = $nu.env._OLD_VIRTUAL_PATH | |
| # Unleting the environment variables that were created when activating the env | |
| unlet-env VIRTUAL_ENV | |
| unlet-env _OLD_VIRTUAL_PATH | |
| unlet-env PROMPT_COMMAND | |
| unalias pydoc | |
| unalias deactivate | |