Spaces:
Running
Running
use sr
Browse files
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')
|