Files
easydiffusion/installer/installer/main.py

23 lines
370 B
Python

import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
from installer.tasks import (
fetch_project_repo,
apply_project_update,
fetch_stable_diffusion_repo,
)
tasks = [
fetch_project_repo,
apply_project_update,
fetch_stable_diffusion_repo,
]
def run_tasks():
for task in tasks:
task.run()
run_tasks()