Skip to content

weather chatbot using python-weather, Streamlit, and spaCy. Responds to user queries about weather conditions in locations and displays real-time information

License

Notifications You must be signed in to change notification settings

rohra-mehak/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

Description

The Weather App is a simple chatbot that provides real-time weather information and trends based on weather related user queries. It utilizes Python-Weather, Streamlit, and spaCy to fetch weather data and process user input.

Pre-Requsites

  1. Python 3.x
  2. pip (tool for installing and using Python packages)

How to Run

  1. Clone the repository:

    git clone https://github.com/rohra-mehak/weather-app.git

  2. Navigate to the project directory:

    cd weather-app

  3. Install dependencies:

    pip install -r requirements.txt

    Alternatively you can install them manually using pip.

  4. run the app:

    streamlit run main.py

Usage

Input:

Enter your weather-related queries in the provided text box of the interface. You can ask about the weather conditions in specific cities or locations. You can try queries such as:

 a. What is the current weather in Wroclaw ?
 b. Is it sunny in London ?
 c. How is the weather in New Delhi ?
 d. Current temperature in New York

Output:

The chatbot will process your query , determine a location and display the relevant weather information for that location including temperature,wind speed, and weather condition. Fore more information on forecasts and variantions in trends, detailed information more tabs can be viewed.

Features

  1. Processes general weather related user queries with a location
  2. Fetch current weather data for any location.
  3. Displays current weather information for a location
  4. Displays hourly temperature trends
  5. Displays a high/low temperature forecasts for coming days.
  6. Displays additional hourly information such wind speed, humidity, temperature forecasts.

Sample Snapshots

Initial Screen

Initial Screen

Input Query

Input Query

Current Weather Information Display

Current Weather Information Display

View Hourly Temperature Trend

View Hourly Temperature Trend

View Temeprature Spike

View Temeprature Spike

About

weather chatbot using python-weather, Streamlit, and spaCy. Responds to user queries about weather conditions in locations and displays real-time information

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages