save code

This commit is contained in:
Your Name
2026-03-08 16:02:37 +00:00
parent 339e7dc1f6
commit 01fa717f5f
40 changed files with 196 additions and 22 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ def image_to_base64(file_path, mime_type=None):
return f"data:{mime_type};base64,{encoded_string}"
if __name__ == '__main__':
url = 'http://112.126.94.241:18018/change_cloth_base64'
url = 'http://117.50.44.174:18018/change_cloth_base64'
headers = {'Content-Type': 'application/json'}
img64_human_str = image_to_base64("/home/xsl/code/ComfyUI/input/girl_full.jpg")
data = {}