Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def analyze_images(img1, img2):
|
|
66 |
# Set up Gradio interface
|
67 |
iface = gr.Interface(
|
68 |
fn=analyze_images,
|
69 |
-
inputs=[gr.
|
70 |
outputs=[gr.outputs.Textbox(label="Same Person?"), gr.outputs.Image(label="Comparison Chart")],
|
71 |
title="Face and Body Similarity Analyzer",
|
72 |
description="Upload two images to analyze if they contain the same person and compare body features."
|
|
|
66 |
# Set up Gradio interface
|
67 |
iface = gr.Interface(
|
68 |
fn=analyze_images,
|
69 |
+
inputs=[gr.Image(type="pil"), gr.Image(type="pil")],
|
70 |
outputs=[gr.outputs.Textbox(label="Same Person?"), gr.outputs.Image(label="Comparison Chart")],
|
71 |
title="Face and Body Similarity Analyzer",
|
72 |
description="Upload two images to analyze if they contain the same person and compare body features."
|