mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-07-08 10:26:56 +02:00
Re-implement the code for downloading models in python. Save some eyeballs from bleeding
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
"""
|
||||
This script checks and installs the required modules.
|
||||
|
||||
This script runs inside the legacy "stable-diffusion" folder
|
||||
|
||||
TODO - Maybe replace the bulk of this script with a call to `pip install -f requirements.txt`, with
|
||||
a custom index URL depending on the platform.
|
||||
|
||||
@ -15,7 +17,7 @@ os_name = platform.system()
|
||||
modules_to_check = {
|
||||
"torch": ("1.11.0", "1.13.1", "2.0.0"),
|
||||
"torchvision": ("0.12.0", "0.14.1", "0.15.1"),
|
||||
"sdkit": "1.0.72",
|
||||
"sdkit": "1.0.73",
|
||||
"stable-diffusion-sdkit": "2.1.4",
|
||||
"rich": "12.6.0",
|
||||
"uvicorn": "0.19.0",
|
||||
|
Reference in New Issue
Block a user