aliasgerovs commited on
Commit
43ff31b
·
verified ·
1 Parent(s): c3c3621

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(shape=None), gr.components.Image(shape=None)],
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."