Hossein108 commited on
Commit
67996d0
·
verified ·
1 Parent(s): a38d8ce

Update README.md

Browse files

import os
from huggingface_hub import InferenceClient

client = InferenceClient(
provider="fal-ai",
api_key=os.environ["HF_TOKEN"],
)

with open("cat.png", "rb") as image_file:
input_image = image_file.read()

# output is a PIL.Image object
image = client.image_to_image(
input_image,
prompt="Turn the cat into a tiger.",
model="Qwen/Qwen-Image-Edit",
)

Files changed (1) hide show
  1. README.md +6 -3
README.md CHANGED
@@ -1,3 +1,6 @@
1
- ---
2
- license: bsd
3
- ---
 
 
 
 
1
+ ---
2
+ license: bsd
3
+ language:
4
+ - af
5
+ - ay
6
+ ---