vishnun commited on
Commit
195f1a3
·
1 Parent(s): 95c4d5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -31,6 +31,9 @@ if uploaded_file is not None:
31
  for i in range(len(ocr_class)):
32
  if ocr_class[i].upper() == 'CODE':
33
  idx.append(ocr_list[i])
34
-
35
 
 
 
 
 
36
  st.code(("\n").join(idx), language="python", line_numbers=False)
 
31
  for i in range(len(ocr_class)):
32
  if ocr_class[i].upper() == 'CODE':
33
  idx.append(ocr_list[i])
 
34
 
35
+
36
+ st.markdown('**Uploaded Image**')
37
+ st.image(img, caption='Uploaded Image')
38
+ st.markdown("**Retrieved Code Block**")
39
  st.code(("\n").join(idx), language="python", line_numbers=False)