1
Some checks failed
CI / lint (push) Failing after 1m2s

This commit is contained in:
zcr
2026-03-18 10:23:31 +08:00
parent d89a176b63
commit 1c33f35aed
2 changed files with 14 additions and 15 deletions

View File

@@ -61,8 +61,7 @@ def oss_upload_image(oss_client, bucket, object_name, image_bytes):
if __name__ == '__main__':
url = "fida-test/furniture/sketches/4449a66d-6267-43f7-86a2-1e42bd19ec61.png"
read_type = "2"
img = oss_get_image(oss_client=minio_client, bucket=url.split('/')[0], object_name=url[url.find('/') + 1:], data_type=read_type)
url = "test/fida_generate_image/692932cfecd9499688899812737a369c.png"
img = oss_get_image(oss_client=minio_client, bucket=url.split('/')[0], object_name=url[url.find('/') + 1:])
img.show()
img.save("result.png")