Spaces:
Sleeping
Sleeping
AisingioroHao0
commited on
Commit
•
f38c281
1
Parent(s):
f80f8e1
test
Browse files
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import huggingface_hub
|
2 |
import gradio as gr
|
3 |
-
from stable_diffusion_reference_only.pipelines.stable_diffusion_reference_only_pipeline import (
|
4 |
-
|
5 |
-
)
|
6 |
-
|
7 |
-
|
8 |
from diffusers.schedulers import UniPCMultistepScheduler
|
9 |
from PIL import Image
|
10 |
import cv2
|
|
|
1 |
import huggingface_hub
|
2 |
import gradio as gr
|
3 |
+
# from stable_diffusion_reference_only.pipelines.stable_diffusion_reference_only_pipeline import (
|
4 |
+
# StableDiffusionReferenceOnlyPipeline,
|
5 |
+
# )
|
6 |
+
from anime_segmentation import get_model as get_anime_segmentation_model
|
7 |
+
from anime_segmentation import character_segment as anime_character_segment
|
8 |
from diffusers.schedulers import UniPCMultistepScheduler
|
9 |
from PIL import Image
|
10 |
import cv2
|