Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import torch
|
2 |
from torch import autocast
|
3 |
from diffusers import StableDiffusionPipeline
|
1 |
+
!pip install omegaconf einops pytorch-lightning==1.6.5 test-tube transformers kornia -e git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers -e git+https://github.com/openai/CLIP.git@main#egg=clip
|
2 |
+
!pip install setuptools==59.5.0
|
3 |
+
!pip install pillow==9.0.1
|
4 |
+
!pip install torchmetrics==0.6.0
|
5 |
+
!pip install -e .
|
6 |
+
|
7 |
import torch
|
8 |
from torch import autocast
|
9 |
from diffusers import StableDiffusionPipeline
|