mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-07-15 05:45:01 +02:00
23 lines
370 B
Python
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()
|