Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
rupeshs
/
fastsdcpu
like
12
Running
App
Files
Files
Community
2
Fetching metadata from the HF Docker repository...
main
fastsdcpu
/
src
/
backend
/
annotators
/
control_interface.py
rupeshs
Updated to latest FastSD
c7f95a6
10 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
202 Bytes
from
abc
import
ABC, abstractmethod
from
PIL
import
Image
class
ControlInterface
(
ABC
):
@abstractmethod
def
get_control_image
(
self,
image: Image,
) -> Image:
pass