shikharyashmaurya
commited on
Commit
•
e65a009
1
Parent(s):
a9cdf20
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import requests
|
|
9 |
from io import BytesIO
|
10 |
|
11 |
|
12 |
-
st.title("cancer-
|
13 |
st.text("Upload image here:")
|
14 |
uploaded_file = st.file_uploader("Choose a file", type=['png', 'jpg'])
|
15 |
if uploaded_file is not None:
|
@@ -19,8 +19,6 @@ if uploaded_file is not None:
|
|
19 |
uploaded_image = PIL.Image.open(uploaded_file)
|
20 |
st.image(uploaded_image, caption='Input', width=200)
|
21 |
|
22 |
-
# st.divider()
|
23 |
-
|
24 |
type_=st.selectbox("Choose any one type of detection", (('Brain'), ('Skin')))
|
25 |
conf = st.slider('Set confidence level percentage', 0, 100, 25)
|
26 |
|
|
|
9 |
from io import BytesIO
|
10 |
|
11 |
|
12 |
+
st.title("cancer-detection")
|
13 |
st.text("Upload image here:")
|
14 |
uploaded_file = st.file_uploader("Choose a file", type=['png', 'jpg'])
|
15 |
if uploaded_file is not None:
|
|
|
19 |
uploaded_image = PIL.Image.open(uploaded_file)
|
20 |
st.image(uploaded_image, caption='Input', width=200)
|
21 |
|
|
|
|
|
22 |
type_=st.selectbox("Choose any one type of detection", (('Brain'), ('Skin')))
|
23 |
conf = st.slider('Set confidence level percentage', 0, 100, 25)
|
24 |
|