Spaces:
Build error
Build error
Update app.py
Browse files
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(
|