--- title: Garbage Detection AI emoji: 🗑️ colorFrom: green colorTo: teal sdk: docker # Important: Specify Docker SDK app_port: 7860 # Important: Port your Flask app runs on --- # Garbage Detection AI Demo This is an AI-powered web tool that classifies images as 'Clean' or 'Dirty' using a trained TensorFlow/Keras model. ## How to Use 1. Navigate to the `/tool` endpoint (`https://huggingface.co/spaces/nonamelife/garbage-detection-demo`). 2. Upload an image (JPG, JPEG, or PNG). 3. The application will predict whether the image depicts a "Clean" or "Dirty" environment. ## Model Details The underlying machine learning model (`model.keras`) is hosted on the Hugging Face Hub: [nonamelife/garbage-detection-model](https://huggingface.co/nonamelife/garbage-detection-model) ## Technologies * Python (Flask) * TensorFlow / Keras * HTML, CSS ## Source Code The full source code for this demo is available on GitHub: [Source Code](https://github.com/CookieDevLab/Garbage_detection)