Spaces:
Build error
Build error
no message
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ MAX_N_LABELS = 5
|
|
| 16 |
SPLIT_TO_CLASSIFY = 'pasta'
|
| 17 |
COL1, COL2 = st.columns([3, 1])
|
| 18 |
CONTAINER_TOP = st.container()
|
| 19 |
-
CONTAINER_BODY = st.container()
|
| 20 |
|
| 21 |
|
| 22 |
|
|
@@ -79,8 +79,7 @@ def classify_full_dataset(shosen_dataset_name, chosen_model_name):
|
|
| 79 |
|
| 80 |
def main():
|
| 81 |
|
| 82 |
-
|
| 83 |
-
st.title("Bulk Image Classification DEMO")
|
| 84 |
|
| 85 |
|
| 86 |
# Restart or reset your app
|
|
@@ -90,8 +89,6 @@ def main():
|
|
| 90 |
# subprocess.call(["shutdown", "-r", "-t", "0"])
|
| 91 |
with CONTAINER_BODY:
|
| 92 |
|
| 93 |
-
|
| 94 |
-
|
| 95 |
with COL1:
|
| 96 |
st.markdown("This app uses several 🤗 models to classify images stored in 🤗 datasets.")
|
| 97 |
st.write("Soon we will have a dataset template")
|
|
|
|
| 16 |
SPLIT_TO_CLASSIFY = 'pasta'
|
| 17 |
COL1, COL2 = st.columns([3, 1])
|
| 18 |
CONTAINER_TOP = st.container()
|
| 19 |
+
CONTAINER_BODY = st.container(scrollable=True)
|
| 20 |
|
| 21 |
|
| 22 |
|
|
|
|
| 79 |
|
| 80 |
def main():
|
| 81 |
|
| 82 |
+
CONTAINER_TOP.title("Bulk Image Classification DEMO")
|
|
|
|
| 83 |
|
| 84 |
|
| 85 |
# Restart or reset your app
|
|
|
|
| 89 |
# subprocess.call(["shutdown", "-r", "-t", "0"])
|
| 90 |
with CONTAINER_BODY:
|
| 91 |
|
|
|
|
|
|
|
| 92 |
with COL1:
|
| 93 |
st.markdown("This app uses several 🤗 models to classify images stored in 🤗 datasets.")
|
| 94 |
st.write("Soon we will have a dataset template")
|