Instructions to use mlworks90/fashion-inpainting-system with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mlworks90/fashion-inpainting-system with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("mlworks90/fashion-inpainting-system") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Upload __init__.py
Browse files- src/__init__.py +22 -0
src/__init__.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
python
|
| 2 |
+
"""
|
| 3 |
+
Fashion Inpainting System
|
| 4 |
+
|
| 5 |
+
AI-powered fashion transformation with safety-first design.
|
| 6 |
+
"""
|
| 7 |
+
|
| 8 |
+
from .fashion_safety_checker import create_fashion_safety_pipeline
|
| 9 |
+
|
| 10 |
+
__version__ = "1.0.0"
|
| 11 |
+
__author__ = "Your Name"
|
| 12 |
+
__license__ = "Apache-2.0"
|
| 13 |
+
|
| 14 |
+
# Main API exports
|
| 15 |
+
__all__ = [
|
| 16 |
+
'create_fashion_safety_pipeline'
|
| 17 |
+
]
|
| 18 |
+
|
| 19 |
+
# For backward compatibility and convenience
|
| 20 |
+
def create_pipeline():
|
| 21 |
+
"""Convenience function to create fashion safety pipeline"""
|
| 22 |
+
return create_fashion_safety_pipeline()
|