Update app.py
Browse files
app.py
CHANGED
|
@@ -108,7 +108,7 @@ def _generate_one(data_url: str, prompt: str, model: str = EDIT_MODEL,
|
|
| 108 |
attempts: int = 2) -> Image.Image:
|
| 109 |
payload = {
|
| 110 |
"model": model,
|
| 111 |
-
"prompt": prompt,
|
| 112 |
"input_references": [{"type": "image_url", "image_url": {"url": data_url}}],
|
| 113 |
}
|
| 114 |
headers = {
|
|
|
|
| 108 |
attempts: int = 2) -> Image.Image:
|
| 109 |
payload = {
|
| 110 |
"model": model,
|
| 111 |
+
"prompt": prompt + " (change the face, we should not recognize the original person)",
|
| 112 |
"input_references": [{"type": "image_url", "image_url": {"url": data_url}}],
|
| 113 |
}
|
| 114 |
headers = {
|