From 0447f37fb744a1b350f6b92e4d140dbdb1c8d3ec Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 11 Sep 2023 13:46:57 -0700 Subject: Pin huggingface_hub to 0.16.4 0.17.x are breaking faster_whisper's ability to download models. Also: * Start using frozen requirements.txt. * Conditionally install torch & legacy whisper only when doing mechanical optimization. --- GUI/GUI/GUI/Frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'GUI') diff --git a/GUI/GUI/GUI/Frame.cpp b/GUI/GUI/GUI/Frame.cpp index 273423e..0d30809 100644 --- a/GUI/GUI/GUI/Frame.cpp +++ b/GUI/GUI/GUI/Frame.cpp @@ -1789,7 +1789,7 @@ void Frame::EnsureVirtualEnv(bool block, bool force) "-u", // Unbuffered output "-m pip", "install", - "-r Resources/Scripts/requirements.txt", + "-r Resources/Scripts/requirements_frozen.txt", }, std::move(out_cb))) { Log(transcribe_out_, "Failed to launch environment setup thread!\n"); return false; -- cgit v1.2.3