Spaces:
Runtime error
Runtime error
Update models.py
Browse files
models.py
CHANGED
|
@@ -10,7 +10,9 @@ from diffusers import (
|
|
| 10 |
AutoencoderKL,
|
| 11 |
LCMScheduler
|
| 12 |
)
|
| 13 |
-
from transformers import
|
|
|
|
|
|
|
| 14 |
from insightface.app import FaceAnalysis
|
| 15 |
from controlnet_aux import ZoeDetector, OpenposeDetector, LeresDetector, MidasDetector, MediapipeFaceDetector
|
| 16 |
from huggingface_hub import hf_hub_download, snapshot_download
|
|
|
|
| 10 |
AutoencoderKL,
|
| 11 |
LCMScheduler
|
| 12 |
)
|
| 13 |
+
from transformers import (
|
| 14 |
+
CLIPTokenizer, CLIPTextModel, CLIPTextModelWithProjection
|
| 15 |
+
)
|
| 16 |
from insightface.app import FaceAnalysis
|
| 17 |
from controlnet_aux import ZoeDetector, OpenposeDetector, LeresDetector, MidasDetector, MediapipeFaceDetector
|
| 18 |
from huggingface_hub import hf_hub_download, snapshot_download
|