abcdef12356 commited on
Commit
adf7a37
·
1 Parent(s): 0a0025a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import cv2
2
  import streamlit as st
3
  from fastai.vision.all import *
 
4
  st.markdown('<h1 style="color:black;">BDI Image classification model</h1>', unsafe_allow_html=True)
5
  learn = load_learner('export (5).pkl')
6
  upload = st.file_uploader('Insert image for classification', type=['png','jpg'])
 
1
  import cv2
2
  import streamlit as st
3
  from fastai.vision.all import *
4
+ import base64
5
  st.markdown('<h1 style="color:black;">BDI Image classification model</h1>', unsafe_allow_html=True)
6
  learn = load_learner('export (5).pkl')
7
  upload = st.file_uploader('Insert image for classification', type=['png','jpg'])