Spaces:
Runtime error
Runtime error
Commit
·
5ffb360
1
Parent(s):
18750fb
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,9 +3,7 @@ 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 |
|
| 6 |
-
|
| 7 |
-
@st.cache(allow_output_mutation=True)
|
| 8 |
-
upload = st.file_uploader('Insert image for classification', type=['png','jpg'])
|
| 9 |
c1, c2= st.columns(2)
|
| 10 |
if upload is not None:
|
| 11 |
im= Image.open(upload)
|
|
|
|
| 3 |
from fastai.vision.all import *
|
| 4 |
st.markdown('<h1 style="color:black;">BDI Image classification model</h1>', unsafe_allow_html=True)
|
| 5 |
|
| 6 |
+
upload = st.file_uploader('Insert image for classification', type=['png','jpg'])
|
|
|
|
|
|
|
| 7 |
c1, c2= st.columns(2)
|
| 8 |
if upload is not None:
|
| 9 |
im= Image.open(upload)
|