This project is a voice-based weather application built with Flask, SpeechRecognition, and OpenWeatherMap API. It allows users to retrieve weather information for a specific city and state using voice commands.
- Speech recognition for inputting city and state information
- Real-time weather data retrieval from OpenWeatherMap API
- Conversion of temperature from Kelvin to Fahrenheit
- User-friendly interface for easy interaction
-
Clone the repository:
git clone https://github.com/sajeevsingh/Weather-App.git
-
Install dependencies:
pip install -r requirements.txt
-
Obtain an API key from OpenWeatherMap and replace
'YOUR_API_KEY'
inapp.py
with your actual API key. -
Run the Flask app:
python app.py
- Open the application in your web browser.
- Speak the name of the city you want to get weather information for when prompted.
- Speak the state abbreviation when prompted.
- The application will display the weather information on the webpage.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository
- Create your feature branch (
git checkout -b feature/YourFeature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin feature/YourFeature
) - Create a new Pull Request