Soumen commited on
Commit
c9f5925
·
1 Parent(s): 431e456

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, (100, 775))
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)