测试代码

This commit is contained in:
2024-06-21 10:16:12 +08:00
parent 738642f932
commit ebb7873c0a
2 changed files with 7 additions and 2 deletions

7
test.py Normal file
View File

@@ -0,0 +1,7 @@
from photo_review.photo_review import open_image_from_url
from ucloud import ucloud
if __name__ == '__main__':
pic_path = ucloud.get_private_url("PH20240529000194_1_075936_1.PNG")
image = open_image_from_url(pic_path)
image.save("test.png")