Spaces:
Running on Zero
Running on Zero
Update run/gradio_ootd.py
Browse files9 unmodified lines101112131314151617181920212223249 unmodified linesPROJECT_ROOT = Path(__file__).absolute().parents[1].absolute()sys.path.insert(0, str(PROJECT_ROOT))
import timefrom preprocess.openpose.run_openpose import OpenPosefrom preprocess.humanparsing.run_parsing import Parsingfrom ootd.inference_ootd_hd import OOTDiffusionHDfrom ootd.inference_ootd_dc import OOTDiffusionDC
from huggingface_hub import hf_hub_download
hf_hub_download(repo_id="levihsu/OOTDiffusion", filename="checkpoints", local_dir="./")
openpose_model_hd = OpenPose(0)parsing_model_hd = Parsing(0)run/gradio_ootd.py+4-1