kumar989 commited on
Commit
9e61e8c
·
1 Parent(s): b39863e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -30,8 +30,14 @@ if (img_url != "") and (img_url != None):
30
  predict()
31
  os.remove('tmp.jpg')
32
 
33
-
34
- st.markdown('<center style="opacity: 70%">OR</center>', unsafe_allow_html=True)
 
 
 
 
 
 
35
  img_upload = st.file_uploader(label='Upload Image', type=['jpg', 'png', 'jpeg'])
36
 
37
  if img_upload != None:
 
30
  predict()
31
  os.remove('tmp.jpg')
32
 
33
+ hide_streamlit_style = """
34
+ <style>
35
+ #MainMenu {visibility: hidden;}
36
+ footer {visibility: hidden;}
37
+ </style>
38
+ """
39
+ st.markdown(hide_streamlit_style, unsafe_allow_html=True)
40
+ # st.markdown('<center style="opacity: 70%">OR</center>', unsafe_allow_html=True)
41
  img_upload = st.file_uploader(label='Upload Image', type=['jpg', 'png', 'jpeg'])
42
 
43
  if img_upload != None: