Commit 4615ef4c authored by duanjinfei's avatar duanjinfei

update cog.yaml

parent eaa0ebc6
......@@ -12,6 +12,7 @@ build:
- curl
- libgl1-mesa-glx
- libglib2.0-0
- conda
# python version in the form '3.11' or '3.11.4'
python_version: "3.10.6"
......@@ -59,6 +60,7 @@ build:
# commands run after the environment is setup
run:
- pip install torch==2.0.1 torchvision==0.15.2
- "wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh;bash Miniconda3-latest-Linux-x86_64.sh;source ~/.bashrc;conda --version"
- "git clone https://github.com/lllyasviel/ControlNet.git;cd ControlNet;conda env create -f environment.yaml;conda activate control"
- "echo env is ready!"
- "echo another command if needed"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment