Spaces:
Runtime error
Runtime error
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 | |