Update app.py
Browse files
app.py
CHANGED
|
@@ -223,6 +223,7 @@ def build_demo(embed_mode, concurrency_count=1):
|
|
| 223 |
]
|
| 224 |
|
| 225 |
def set_example_flag(image, query):
|
|
|
|
| 226 |
image_path = image if isinstance(image, str) else None
|
| 227 |
is_example = any(image_path == example[0] for example in examples)
|
| 228 |
return is_example
|
|
|
|
| 223 |
]
|
| 224 |
|
| 225 |
def set_example_flag(image, query):
|
| 226 |
+
print(image)
|
| 227 |
image_path = image if isinstance(image, str) else None
|
| 228 |
is_example = any(image_path == example[0] for example in examples)
|
| 229 |
return is_example
|