File size: 461 Bytes
ecaf129
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from gradio_client import Client, handle_file

client = Client("MiniAiLive/FaceRecognition-LivenessDetection-Demo")
result = client.predict(
		frame1=handle_file('https://qvnhhditkzzeudppuezf.supabase.co/storage/v1/object/public/post-images/post-images/1752289670997-kevan.jpg'),
		frame2=handle_file('https://qvnhhditkzzeudppuezf.supabase.co/storage/v1/object/public/post-images/post-images/1752289670997-kevan.jpg'),
		api_name="/face_compare"
)
print(result)