Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,6 +51,7 @@ variant = st.selectbox(
|
|
| 51 |
index=None,
|
| 52 |
)
|
| 53 |
st.write("You selected model: ", variant)
|
|
|
|
| 54 |
st.divider()
|
| 55 |
|
| 56 |
if variant == "ResNet50v2-Basemodel":
|
|
@@ -66,14 +67,10 @@ crop = st.toggle("random crop")
|
|
| 66 |
compress = st.toggle("jpeg compression")
|
| 67 |
st.divider()
|
| 68 |
|
| 69 |
-
st.subheader("Classification")
|
| 70 |
-
binary = st.toggle("Activate binary classification")
|
| 71 |
-
st.divider()
|
| 72 |
-
|
| 73 |
file_name = st.file_uploader("Choose an image...")
|
| 74 |
|
| 75 |
st.button("re-run classification", type="primary")
|
| 76 |
-
|
| 77 |
|
| 78 |
if file_name is not None:
|
| 79 |
col1, col2 = st.columns(2)
|
|
|
|
| 51 |
index=None,
|
| 52 |
)
|
| 53 |
st.write("You selected model: ", variant)
|
| 54 |
+
binary = st.toggle("Activate binary classification")
|
| 55 |
st.divider()
|
| 56 |
|
| 57 |
if variant == "ResNet50v2-Basemodel":
|
|
|
|
| 67 |
compress = st.toggle("jpeg compression")
|
| 68 |
st.divider()
|
| 69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
file_name = st.file_uploader("Choose an image...")
|
| 71 |
|
| 72 |
st.button("re-run classification", type="primary")
|
| 73 |
+
|
| 74 |
|
| 75 |
if file_name is not None:
|
| 76 |
col1, col2 = st.columns(2)
|