Spaces:
Sleeping
Sleeping
checkpoint GFPGANS
Browse files
app.py
CHANGED
|
@@ -10,8 +10,7 @@ import matplotlib.pyplot as plt
|
|
| 10 |
from diffusers import StableDiffusionInpaintPipeline
|
| 11 |
from iglovikov_helper_functions.utils.image_utils import load_rgb, pad, unpad
|
| 12 |
from iglovikov_helper_functions.dl.pytorch.utils import tensor_from_rgb_image
|
| 13 |
-
from cloths_segmentation.pre_trained_models import create_model
|
| 14 |
-
from gfpgan import GFPGANer
|
| 15 |
|
| 16 |
# Load Cloth Segmentation Model (Ensure this is available)
|
| 17 |
try:
|
|
|
|
| 10 |
from diffusers import StableDiffusionInpaintPipeline
|
| 11 |
from iglovikov_helper_functions.utils.image_utils import load_rgb, pad, unpad
|
| 12 |
from iglovikov_helper_functions.dl.pytorch.utils import tensor_from_rgb_image
|
| 13 |
+
from cloths_segmentation.pre_trained_models import create_model
|
|
|
|
| 14 |
|
| 15 |
# Load Cloth Segmentation Model (Ensure this is available)
|
| 16 |
try:
|