Peng-Wang commited on
Commit
3415add
1 Parent(s): 4ff2249
Files changed (1) hide show
  1. caller.py +1 -0
caller.py CHANGED
@@ -108,6 +108,7 @@ class SeedEditCaller():
108
  "prompt": str(edit),
109
  "model_version": "byteedit_v2.0",
110
  "scale": cfg_scale,
 
111
  })
112
  logger.info(f"{req_json}")
113
  binary =base64.b64encode(image_bytes.getvalue()).decode('utf-8')
 
108
  "prompt": str(edit),
109
  "model_version": "byteedit_v2.0",
110
  "scale": cfg_scale,
111
+ "use_sr": True
112
  })
113
  logger.info(f"{req_json}")
114
  binary =base64.b64encode(image_bytes.getvalue()).decode('utf-8')