Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,8 +30,14 @@ if (img_url != "") and (img_url != None):
|
|
30 |
predict()
|
31 |
os.remove('tmp.jpg')
|
32 |
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
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:
|