Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -150,6 +150,6 @@ def run_model_pipeline(model, original_image, comparison_image, threshold=0.5):
|
|
| 150 |
if st.button("Run Model Pipeline"):
|
| 151 |
model = load_pipeline()
|
| 152 |
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
|
|
|
| 150 |
if st.button("Run Model Pipeline"):
|
| 151 |
model = load_pipeline()
|
| 152 |
|
| 153 |
+
# button click to process images
|
| 154 |
+
if st.button("Process Images"):
|
| 155 |
+
run_model_pipeline(model, original_image, comparison_image)
|