图片方向识别器准确率有限,尝试同时识别原图和旋转90度之后的图。修正日志。
This commit is contained in:
@@ -12,7 +12,7 @@ def get_private_url(key):
|
||||
# 判断文件是否存在
|
||||
_, resp = get_ufile_handler.head_file(BUCKET, key)
|
||||
if resp.status_code != 200:
|
||||
logging.warning("uCloud中未找到(%s)! status: %d error: %s", key, resp.status_code, resp.error)
|
||||
logging.warning(f"uCloud中未找到({key})! status: {resp.status_code} error: {resp.error}")
|
||||
return None
|
||||
|
||||
# 获取公有空间下载url
|
||||
|
||||
Reference in New Issue
Block a user