Update main.py
Browse files
main.py
CHANGED
@@ -41,7 +41,7 @@ async def ocr(
|
|
41 |
# languages: list = Body(["eng"])
|
42 |
):
|
43 |
try:
|
44 |
-
|
45 |
# # Check if the file format is allowed
|
46 |
# file_extension = image.filename.split(".")[-1].lower()
|
47 |
# if file_extension not in VALID_IMAGE_EXTENSIONS:
|
|
|
41 |
# languages: list = Body(["eng"])
|
42 |
):
|
43 |
try:
|
44 |
+
print("[Hello]", image)
|
45 |
# # Check if the file format is allowed
|
46 |
# file_extension = image.filename.split(".")[-1].lower()
|
47 |
# if file_extension not in VALID_IMAGE_EXTENSIONS:
|