Spaces:
Runtime error
Runtime error
Commit
Β·
e315714
1
Parent(s):
98e4681
Update app.py
Browse files
app.py
CHANGED
|
@@ -296,7 +296,7 @@ async def image_search_pinecone(
|
|
| 296 |
# read image contain
|
| 297 |
contents = await image.read()
|
| 298 |
pil_image = Image.open(io.BytesIO(contents))
|
| 299 |
-
pil_image = enhance_image(pil_image)
|
| 300 |
tmp_file = f"{TMP_DIR}/{image.filename}"
|
| 301 |
pil_image.save(tmp_file)
|
| 302 |
meta_datas.append({"file_path": tmp_file})
|
|
|
|
| 296 |
# read image contain
|
| 297 |
contents = await image.read()
|
| 298 |
pil_image = Image.open(io.BytesIO(contents))
|
| 299 |
+
# pil_image = enhance_image(pil_image)
|
| 300 |
tmp_file = f"{TMP_DIR}/{image.filename}"
|
| 301 |
pil_image.save(tmp_file)
|
| 302 |
meta_datas.append({"file_path": tmp_file})
|