Spaces:
Sleeping
Sleeping
aliasgerovs
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def compare_images(image1, image2):
|
|
29 |
# Setup Gradio interface
|
30 |
iface = gr.Interface(
|
31 |
fn=compare_images,
|
32 |
-
inputs=[gr.components.Image(
|
33 |
outputs=gr.components.Label(),
|
34 |
title="Image Similarity Checker",
|
35 |
description="Upload two images to compare their similarity based on extracted features using MobileNetV2."
|
|
|
29 |
# Setup Gradio interface
|
30 |
iface = gr.Interface(
|
31 |
fn=compare_images,
|
32 |
+
inputs=[gr.components.Image(), gr.components.Image()], # Updated to remove 'shape'
|
33 |
outputs=gr.components.Label(),
|
34 |
title="Image Similarity Checker",
|
35 |
description="Upload two images to compare their similarity based on extracted features using MobileNetV2."
|