diff options
| author | yum <yum.food.vr@gmail.com> | 2023-05-21 21:27:50 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-05-21 21:27:50 -0700 |
| commit | 2d544407e64bed9328ee493d3daa095b20445b52 (patch) | |
| tree | c98ff700afcf040cfec9170c2d5d72d17e5bc7ac /GUI/package.ps1 | |
| parent | aec43ecd11e8ef84fe4f5f5fcca9578dbde59469 (diff) | |
Enable selecting specific GPU when transcribing
Useful on devices with multiple GPUs, such as gaming laptops.
* Update GUI/README.md.
Diffstat (limited to 'GUI/package.ps1')
| -rw-r--r-- | GUI/package.ps1 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/GUI/package.ps1 b/GUI/package.ps1 index e21d109..7bf032b 100644 --- a/GUI/package.ps1 +++ b/GUI/package.ps1 @@ -18,7 +18,9 @@ if (Test-Path $install_dir) { $py_dir = "Python"
-rm -Recurse $py_dir
+if (Test-Path $py_dir) {
+ rm -Recurse $py_dir
+}
if (-Not (Test-Path $py_dir)) {
echo "Fetching python"
@@ -39,6 +41,10 @@ if (-Not (Test-Path $py_dir)) { $pip_path = "$py_dir/get-pip.py"
+if (Test-Path $pip_path) {
+ rm -Force $pip_path
+}
+
if (-Not (Test-Path $pip_path)) {
echo "Fetching pip"
|
