omkar56 commited on
Commit
c1aa791
·
1 Parent(s): 8f445e9

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -41,7 +41,7 @@ async def ocr(
41
  # languages: list = Body(["eng"])
42
  ):
43
  try:
44
- # print("[Hello]", image.filename.split(".")[-1].lower())
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: