See also: https://gist.github.com/wey-gu/54db65ac5551b473de2feb34c0985110
Follow https://web.eecs.umich.edu/~justincj/teaching/eecs442/WI2021/colab.html
!nvidia-smi
import torch
print(str(torch.cuda.is_available()))
!git clone https://huggingface.co/spaces/fffiloni/ControlNet-Video
%cd ControlNet-Video
!pip install -r requirements.txt -q
!pip install gradio imageio==2.4.1 -q
# modify app.py
!git submodule update --init --recursive
add share=True
to launch()
-demo.launch().queue(max_size=12)
+demo.launch(share=True).queue(max_size=12)
!ln -s ControlNet/annotator/ annotator
ref:
ControlNet_Video.mp4