h-siyuan commited on
Commit
33eec1c
·
verified ·
1 Parent(s): a2cf928

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -227,7 +227,9 @@ def build_demo(embed_mode, concurrency_count=1):
227
  for example_path, _ in examples:
228
  example_image = Image.open(example_path)
229
  if np.array_equal(np.array(image), np.array(example_image)):
 
230
  return True
 
231
  return False
232
 
233
  gr.Examples(
 
227
  for example_path, _ in examples:
228
  example_image = Image.open(example_path)
229
  if np.array_equal(np.array(image), np.array(example_image)):
230
+ print("same")
231
  return True
232
+ print("different")
233
  return False
234
 
235
  gr.Examples(