[update] rm print

This commit is contained in:
NatLee 2025-01-16 20:48:59 +08:00
parent 6a8d1d95d3
commit 0d7e15147f

View File

@ -175,7 +175,6 @@ def analyze(
task="facial_attribute", model_name="Age"
).predict(img_content)
# int cast is for exception - object of type 'float32' is not JSON serializable
print(apparent_age.shape)
obj["age"] = int(apparent_age)
elif action == "gender":