Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,9 +49,14 @@ loaded_model = load_trained_model()
|
|
| 49 |
|
| 50 |
# App UI
|
| 51 |
|
|
|
|
|
|
|
| 52 |
st.title("🧠 Wall Defect Classification & AI-Based Description")
|
|
|
|
|
|
|
| 53 |
st.markdown("Upload a wall surface image to detect potential defects and generate a structured AI analysis.")
|
| 54 |
|
|
|
|
| 55 |
uploaded_file = st.file_uploader("📤 Upload an Image", type=["jpg", "jpeg", "png"])
|
| 56 |
|
| 57 |
if uploaded_file is not None:
|
|
|
|
| 49 |
|
| 50 |
# App UI
|
| 51 |
|
| 52 |
+
|
| 53 |
+
|
| 54 |
st.title("🧠 Wall Defect Classification & AI-Based Description")
|
| 55 |
+
category_choice = st.selectbox("🛠️ Select Defect Category Type:", ["Flooring"], index=0)
|
| 56 |
+
|
| 57 |
st.markdown("Upload a wall surface image to detect potential defects and generate a structured AI analysis.")
|
| 58 |
|
| 59 |
+
|
| 60 |
uploaded_file = st.file_uploader("📤 Upload an Image", type=["jpg", "jpeg", "png"])
|
| 61 |
|
| 62 |
if uploaded_file is not None:
|