Spaces:
Sleeping
Sleeping
wip
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from PIL import Image
|
|
| 4 |
from io import BytesIO
|
| 5 |
|
| 6 |
# Configuration de l'API Hugging Face (Inpainting model)
|
| 7 |
-
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-
|
| 8 |
|
| 9 |
def generate_image_with_face(image, prompt):
|
| 10 |
response = requests.post(
|
|
|
|
| 4 |
from io import BytesIO
|
| 5 |
|
| 6 |
# Configuration de l'API Hugging Face (Inpainting model)
|
| 7 |
+
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl-base-1.0"
|
| 8 |
|
| 9 |
def generate_image_with_face(image, prompt):
|
| 10 |
response = requests.post(
|