check requirement

pull/5/head
vahid K. nejad 2023-04-12 15:38:16 +04:00
parent 4ec7271c49
commit 787777a932
2 changed files with 7 additions and 0 deletions

5
install.py Normal file
View File

@ -0,0 +1,5 @@
import launch
if not launch.is_installed("imageio"):
if not launch.is_installed("imageio.plugins.ffmpeg"):
launch.run_pip("install imageio[ffmpeg]", "requirements for Infinite-Zoom")

2
.gitignore vendored
View File

@ -127,3 +127,5 @@ dmypy.json
# Pyre type checker
.pyre/
.vscode/settings.json
.DS_Store