Rasleen's picture
Update README.md
7ae1345 verified
metadata
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

pip install -r requirements.txt
streamlit run app.py

app_file: app.py