Spaces:
Sleeping
Sleeping
fix
Browse files177 unmodified lines178179180181182183184177 unmodified linesif result.get("verified", False):true_count += 1log_info_event("verify_match_count", gallery_image=image, true_count=true_count)if true_count >= 2:log_info_event("verify_response", verified=True, matched_image=image, true_count=true_count)return JSONResponse(content={"verified": True, "image": image})except Exception as e2:177 unmodified lines178179180181182183184177 unmodified linesif result.get("verified", False):true_count += 1log_info_event("verify_match_count", gallery_image=image, true_count=true_count)if true_count >= 1:log_info_event("verify_response", verified=True, matched_image=image, true_count=true_count)return JSONResponse(content={"verified": True, "image": image})except Exception as e2:
app.py+1-1