Skip to content

Commit 36a4259

Browse files
committed
Merge branch 'inference-providers-image-edit-guide' of https://github.com/huggingface/hub-docs into inference-providers-image-edit-guide
2 parents fe52204 + 0d2a5d0 commit 36a4259

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/inference-providers/guides/image-editor.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ We're using `uv` because it's a fast Python package manager that handles depende
6060

6161
Now let's create the main logic for our application - the image editing function that transforms images using AI.
6262

63-
Create `main.py` then import the necessary libraries and instantiate the InferenceClient. We're using the `fal-ai` provider for fast image processing, but other providers are available.
63+
Create `main.py` then import the necessary libraries and instantiate the InferenceClient. We're using the `fal-ai` provider for fast image processing, but other providers like `replicate` are also available.
6464

6565
```python
6666
import os
@@ -117,9 +117,9 @@ def edit_image(input_image, prompt):
117117

118118
<Tip>
119119

120-
We're using the `fal-ai` provider with the `Qwen/Qwen-Image-Edit` model. The fal-ai provider offers fast inference times, perfect for interactive applications. In some use cases, you might want to switch between providers for maximum performance. Whilst in others you might want to go for the consistency of a single provider.
120+
We're using the `fal-ai` provider with the `Qwen/Qwen-Image-Edit` model. The fal-ai provider offers fast inference times, perfect for interactive applications.
121121

122-
You can experiment with different providers for various performance characteristics:
122+
However, you can experiment with different providers for various performance characteristics:
123123

124124
```python
125125
client = InferenceClient(provider="replicate", api_key=os.environ["HF_TOKEN"])

0 commit comments

Comments
 (0)