Spaces:
Running
Running
Mallisetty Siva Mahesh
commited on
Commit
·
498d199
1
Parent(s):
ef68f54
chnages in pdf
Browse files
utils.py
CHANGED
@@ -72,7 +72,7 @@ class doc_processing:
|
|
72 |
return {"success": 200, "output_p": output_path}
|
73 |
|
74 |
def process(self):
|
75 |
-
if self.doc_type == "pdf":
|
76 |
response = self.pdf_to_image_scale()
|
77 |
else:
|
78 |
response = self.scale_img()
|
|
|
72 |
return {"success": 200, "output_p": output_path}
|
73 |
|
74 |
def process(self):
|
75 |
+
if self.doc_type == "pdf" or self.doc_type == "PDF":
|
76 |
response = self.pdf_to_image_scale()
|
77 |
else:
|
78 |
response = self.scale_img()
|