FoxLoverAI commited on
Commit
d8ea1b2
·
verified ·
1 Parent(s): 94589e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = {