Update app.py
Browse files
app.py
CHANGED
|
@@ -130,7 +130,7 @@ def main():
|
|
| 130 |
#image_result.write(file)
|
| 131 |
text = read_pdf(uploaded_photo)
|
| 132 |
#text = pytesseract.image_to_string(img, lang="ben") if st.checkbox("Mark to see Bangla Image's Text") else pytesseract.image_to_string(img)
|
| 133 |
-
st.success(
|
| 134 |
elif uploaded_photo.type != "application/image":
|
| 135 |
img = Image.open(uploaded_photo)
|
| 136 |
img = img.save("img.png")
|
|
|
|
| 130 |
#image_result.write(file)
|
| 131 |
text = read_pdf(uploaded_photo)
|
| 132 |
#text = pytesseract.image_to_string(img, lang="ben") if st.checkbox("Mark to see Bangla Image's Text") else pytesseract.image_to_string(img)
|
| 133 |
+
st.success("Your PDF File IS UPLOADED!")
|
| 134 |
elif uploaded_photo.type != "application/image":
|
| 135 |
img = Image.open(uploaded_photo)
|
| 136 |
img = img.save("img.png")
|