ethanrom commited on
Commit
5128352
·
1 Parent(s): 3e96783

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def main():
38
  with st.sidebar:
39
  st.write('## Input')
40
  uploaded_file = st.file_uploader('Upload the image file (PNG or JPG)', type=['png', 'jpg'], help='help')
41
- input_file = st.file_uploader('Upload the input file (TXT)', type=['txt'], help='help')
42
  with st.expander('Settings'):
43
  ocre = st.selectbox('OCR Engine', ['Hive', 'Tesseract'])
44
  img_processing = st.selectbox('Image preprocessing', ['Gray Scaling', 'Thresholding, Denoising, Binarization, Skew Correction', 'Adaptive Thresholding, Morphological Operations, CCA'])
 
38
  with st.sidebar:
39
  st.write('## Input')
40
  uploaded_file = st.file_uploader('Upload the image file (PNG or JPG)', type=['png', 'jpg'], help='help')
41
+ input_file = st.file_uploader('Upload the input file (TXT)', type=['txt'], help='text file containing order id, text, font type. in that order')
42
  with st.expander('Settings'):
43
  ocre = st.selectbox('OCR Engine', ['Hive', 'Tesseract'])
44
  img_processing = st.selectbox('Image preprocessing', ['Gray Scaling', 'Thresholding, Denoising, Binarization, Skew Correction', 'Adaptive Thresholding, Morphological Operations, CCA'])