Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ def main():
|
|
133 |
#image_result.write(file)
|
134 |
tet = read_pdf(uploaded_photo)
|
135 |
#tet = pytesseract.image_to_string(img, lang="ben") if st.checkbox("Mark to see Bangla Image's Text") else pytesseract.image_to_string(img)
|
136 |
-
values = st.slider('Select a approximate number of words to view and summarize', 0, 1000
|
137 |
if values:
|
138 |
text = tet[:values*5]
|
139 |
st.success(text)
|
|
|
133 |
#image_result.write(file)
|
134 |
tet = read_pdf(uploaded_photo)
|
135 |
#tet = pytesseract.image_to_string(img, lang="ben") if st.checkbox("Mark to see Bangla Image's Text") else pytesseract.image_to_string(img)
|
136 |
+
values = st.slider('Select a approximate number of words to view and summarize', 0, 500,1000)
|
137 |
if values:
|
138 |
text = tet[:values*5]
|
139 |
st.success(text)
|