Update app.py
Browse files
app.py
CHANGED
|
@@ -192,8 +192,10 @@ class readDataset:
|
|
| 192 |
st.title("Satellite Mining Segmentation: SAR + Optic Image Inference")
|
| 193 |
|
| 194 |
# Sidebar inputs
|
| 195 |
-
dataset_path = st.text_input("Enter dataset path", "path/to/your/dataset")
|
| 196 |
-
model_path = st.text_input("Enter path to trained model (.h5)", "model.h5")
|
|
|
|
|
|
|
| 197 |
num_samples = st.slider("Number of test samples to visualize", 1, 10, 3)
|
| 198 |
|
| 199 |
if st.button("Run Inference"):
|
|
|
|
| 192 |
st.title("Satellite Mining Segmentation: SAR + Optic Image Inference")
|
| 193 |
|
| 194 |
# Sidebar inputs
|
| 195 |
+
#dataset_path = st.text_input("Enter dataset path", "path/to/your/dataset")
|
| 196 |
+
#model_path = st.text_input("Enter path to trained model (.h5)", "model.h5")
|
| 197 |
+
dataset_path = "bangka_testing_data")
|
| 198 |
+
model_path = "Residual_UNET_Bilinear.keras"
|
| 199 |
num_samples = st.slider("Number of test samples to visualize", 1, 10, 3)
|
| 200 |
|
| 201 |
if st.button("Run Inference"):
|