Spaces:
Running
on
Zero
Running
on
Zero
Richard Neuschulz
commited on
Commit
•
cf453dc
1
Parent(s):
0c49d71
cleared SDXL import
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import spaces
|
|
3 |
from diffusers import StableDiffusionPipeline, DDIMScheduler, AutoencoderKL, StableDiffusionXLPipeline
|
4 |
from transformers import AutoFeatureExtractor
|
5 |
from diffusers.pipelines.stable_diffusion.safety_checker import StableDiffusionSafetyChecker
|
6 |
-
from ip_adapter.ip_adapter_faceid import
|
7 |
from huggingface_hub import hf_hub_download
|
8 |
from insightface.app import FaceAnalysis
|
9 |
from insightface.utils import face_align
|
@@ -11,7 +11,6 @@ import gradio as gr
|
|
11 |
import cv2
|
12 |
|
13 |
base_model_path = "SG161222/RealVisXL_V3.0"
|
14 |
-
image_encoder_path = "laion/CLIP-ViT-H-14-laion2B-s32B-b79K"
|
15 |
ip_ckpt = "ip-adapter-faceid_sdxl.bin"
|
16 |
device = "cuda"
|
17 |
|
|
|
3 |
from diffusers import StableDiffusionPipeline, DDIMScheduler, AutoencoderKL, StableDiffusionXLPipeline
|
4 |
from transformers import AutoFeatureExtractor
|
5 |
from diffusers.pipelines.stable_diffusion.safety_checker import StableDiffusionSafetyChecker
|
6 |
+
from ip_adapter.ip_adapter_faceid import IPAdapterFaceIDXL
|
7 |
from huggingface_hub import hf_hub_download
|
8 |
from insightface.app import FaceAnalysis
|
9 |
from insightface.utils import face_align
|
|
|
11 |
import cv2
|
12 |
|
13 |
base_model_path = "SG161222/RealVisXL_V3.0"
|
|
|
14 |
ip_ckpt = "ip-adapter-faceid_sdxl.bin"
|
15 |
device = "cuda"
|
16 |
|