Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 56 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ llvmlite = "^0.43.0"
ell-ai = "^0.0.14"
pynput = "^1.7.7"
multiprocessing-utils = "^0.4"
openai-whisper = "^20240930"
[tool.pytest.ini_options]
filterwarnings = [
# suppress warnings starting from "setuptools>=67.3"
Expand Down
19 changes: 0 additions & 19 deletions scripts/postinstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,6 @@ def install_detectron2() -> None:
sys.exit(1)


def install_whisper() -> None:
"""Install Whisper from its GitHub repository."""
try:
subprocess.check_call(
[
sys.executable,
"-m",
"pip",
"install",
"git+https://github.com/openai/whisper.git",
"--no-build-isolation",
]
)
except subprocess.CalledProcessError as e:
print(f"Error installing Whisper: {e}")
sys.exit(1)


def install_dashboard() -> None:
"""Install dashboard dependencies based on the operating system."""
original_directory = os.getcwd()
Expand Down Expand Up @@ -82,7 +64,6 @@ def main() -> None:
"""Main function to install dependencies."""
try:
install_detectron2()
install_whisper()
install_dashboard()
except Exception as e:
print(f"Unhandled error: {e}")
Expand Down
Loading