Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,8 @@ from io import BytesIO
|
|
4 |
import torch
|
5 |
import os
|
6 |
|
|
|
|
|
7 |
from diffusers import DiffusionPipeline, DDIMScheduler, UNet2DConditionModel
|
8 |
MY_SECRET_TOKEN=os.environ.get('HF_TOKEN_SD')
|
9 |
|
|
|
4 |
import torch
|
5 |
import os
|
6 |
|
7 |
+
os.system("pip install git+https://github.com/fffiloni/diffusers")
|
8 |
+
|
9 |
from diffusers import DiffusionPipeline, DDIMScheduler, UNet2DConditionModel
|
10 |
MY_SECRET_TOKEN=os.environ.get('HF_TOKEN_SD')
|
11 |
|