sharma-kanishka commited on
Commit
26a13bb
·
verified ·
1 Parent(s): 395fd79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -75,7 +75,8 @@ if __name__ == "__main__":
75
  file = st.file_uploader(label="Upload Latest Report Card:-")
76
  print(f"Testing with file: {file}")
77
  col1,col2=st.columns(2)
78
- st.image(file)
 
79
  # with col1:
80
  # if st.button("Analyse"):
81
  # res=analyse(file)
 
75
  file = st.file_uploader(label="Upload Latest Report Card:-")
76
  print(f"Testing with file: {file}")
77
  col1,col2=st.columns(2)
78
+ if file is not None:
79
+ st.image(file)
80
  # with col1:
81
  # if st.button("Analyse"):
82
  # res=analyse(file)