tahirsiddique's picture
Update app.py
ada5d03
raw
history blame contribute delete
526 Bytes
from model.face_verification_script import verify_faces
import streamlit as st
img1_url = st.text_input('First Image URL')
img2_url = st.text_input('Second Image URL')
# URLs for the images you want to compare
# img1_url = 'https://hamariweb.com/profiles/images/profile/7751-824-7085.jpg'
# img2_url = 'https://hips.hearstapps.com/hmg-prod/images/gettyimages-693134468.jpg?crop=1xw:1.0xh;center,top&resize=1200:*'
# Example usage
if img1_url and img2_url:
result = verify_faces(img1_url, img2_url)
st.write(result)