Spaces:
Runtime error
Runtime error
File size: 626 Bytes
7d278b2 0f37b00 7d278b2 0f37b00 7d278b2 71d9d86 7d278b2 05d2608 7d278b2 05d2608 7d278b2 05d2608 7ae1345 |
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 |
---
title: SmartTrafficLightSimulation
emoji: π
colorFrom: red
colorTo: red
sdk: docker
app_port: 8501
tags:
- streamlit
pinned: false
short_description: Streamlit template space
app_file: app.py
---
# Smart Traffic Light Simulation π¦
This is a simple web-based simulation of a smart traffic light system using Streamlit. The light turns green for the road with the highest vehicle count.
## Features
- Vehicle count input for 4 roads
- Dynamic traffic light switching logic
- Visual display with color indicators
## How to Run Locally
```bash
pip install -r requirements.txt
streamlit run app.py
app_file: app.py
|