File size: 1,505 Bytes
bc44122
 
 
 
 
 
 
 
 
 
 
 
 
0e9ddac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bc44122
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: HW3 PART2 Image Identification
emoji: 📚
colorFrom: red
colorTo: blue
sdk: gradio
sdk_version: 5.47.2
app_file: app.py
pinned: false
license: mit
short_description: Stop Sign Image Identification
---

# Stop Sign Image Classifier  

**Author:** Your Name  
**Course:** 24679 - Designing and Deploying AI/ML Systems  

This app classifies traffic images into two categories using an AutoGluon-trained model:  
- **0 = Not a Stop Sign**  
- **1 = Stop Sign**  

The interface allows you to upload or drag-and-drop an image of a road scene. The model outputs the predicted class along with probability scores.  

---

## How to Use  
1. Upload an image (JPG/PNG).  
2. Click **Submit** to run the classifier.  
3. View the predicted label (`0` or `1`) and the probability distribution.  

---

## Deployment Details  
- **Frameworks:** [AutoGluon Image](https://auto.gluon.ai/stable/tutorials/image_prediction/index.html), [Gradio](https://gradio.app/)  
- **Hosting:** Hugging Face Spaces  
- **Model Loading:** Model is downloaded from the Hugging Face Hub and automatically unpacked on startup.  

---

## Requirements  
Dependencies are listed in `requirements.txt`.  

---

## Acknowledgments  
- Model trained by a classmate in Homework 2  
- Deployment scaffold and documentation supported with AI assistance (ChatGPT, OpenAI)  
- Reference: Class-provided notebook *image gradio.ipynb*  


Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference