VionaWang / Databricks-News

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

News App

A web application is built using Python framework (Flask) and BART LLM. The app displays information about news articles from popular sources, provides Machine Learning functionalities like summarization and chatbot

Functions

The user can perform the following functions:

  • See latest news on the homepage of the application
  • Select a news and chat with a chatbot about it and its related topics.
  • Select a news and read it in 15s.
  • Click on an article and read the full article.

Technologies Used

  • python 3.11

Project Setup Instructions (Using in Terminal)

  1. Git clone the repository
$ git clone https://github.com/JonathanZZhang/Databricks-News.git
  1. cd into Databricks-News
$ cd Databricks-News
  1. create a virtual environment
$ python3 -m venv env
  1. activate env
$ source env/bin/activate
  1. install Dependencies
$ pip install -r requirements.txt
  1. Initialize database
$ flask --app news init-db
  1. Scrape news
$ flask --app news scrape
  1. Run Application
$ flask --app news run
  1. Paste the url(default: http://127.0.0.1:5000, but please check on your terminal) into the web browser and run the model!

About

License:MIT License


Languages

Language:Jupyter Notebook 95.3%Language:Python 3.9%Language:HTML 0.5%Language:CSS 0.3%