Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Akoda35
/
PyRunner
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
PyRunner
/
services
/
hairstyle_transfer.py
Akoda35
Create services/hairstyle_transfer.py
52daf81
verified
about 2 months ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
192 Bytes
from
PIL
import
Image
class
HairstyleTransfer
:
async
def
transfer
(
self, source, hairstyle
):
return
{
"status"
:
"processing"
,
"style"
: hairstyle
}