aliduku / Weather_Prediction_App

Weather_Prediction_App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather Prediction Chatbot

Welcome to the Weather Prediction Chatbot! This simple web application lets you input a city name and get real-time weather information for that city. The chatbot also provides a text-to-speech feature to read out the weather details.

Overview

This web application is built using Streamlit, a Python library that makes it easy to create interactive web apps with just a few lines of code. The app integrates with the OpenWeatherMap API to fetch weather data for the specified city and displays the weather description, temperature, humidity, wind speed, and an icon representing the weather.

Features

  • Input a city name to get weather predictions.
  • Display real-time weather information including weather description, temperature, humidity, and wind speed.
  • Visual representation of weather with icons.
  • Chat history to keep track of conversations.
  • Text-to-speech feature for chatbot responses.

How to Use

  1. Clone this repository to your local machine.
  2. Install the required dependencies using pip install -r requirements.txt.
  3. Run the app using streamlit run app.py.
  4. Enter a city name in the text input field and click the "Submit" button.
  5. The chatbot will display weather predictions and respond to your queries.
  6. Use the "Read Chatbot Response" button to listen to the chatbot's response.

Web Application

You can access the live web application here.

Feel free to explore the application, experiment with different city names, and engage in conversations with the chatbot.

Credits

About

Weather_Prediction_App


Languages

Language:Python 100.0%