Skip to content

Project presented in The innovation Challenge hackathon 2024 that was sponsored by Microsoft. We gave it the name of Read My News and it was an interesting application built to show AI can improve tech accesibility for people with disabilities, we used some interesting Azure services such as azure AI Speech and Azure open AI.

Notifications You must be signed in to change notification settings

CharlyProgrammer/Hackathon-microsoft2024

 
 

Repository files navigation

Read My News 📰🎤🔈

Today, there is such an abundance of news and information that it is a real challenge to stay up-to-date on the topics that interest us the most. Our project aims to compress this abundance of news and information through a news recommendation system capable of providing this content in a summarized, precise, and easy-to-digest manner, both in easy reading text and voice, and in multiple languages. This way, people with visual impairments can stay informed in an accessible way, thanks to Azure AI Speech's Speech-to-Text and Text-to-Speech services, and the incredible Generative AI of the Azure OpenAI Service.

Azure AI Resource Creation

  1. Create an Azure AI Speech resource on Azure, and obtain its Key and Region from Resource Management > Keys and Endpoints.
  2. Create an Azure AI Language resource on Azure, and obtain its Endpoint and Key from Resource Management > Keys and Endpoints.
  3. Create an Azure AI Translator resource on Azure, and obtain its Text Translation Endpoint and Key from Resource Management > Keys and Endpoints.
  4. Create an Azure OpenAI resource on Azure, and obtain its Key and Endpoint from Resource Management > Keys and Endpoints.
  5. Open Azure OpenAI Studio, deploy a new GPT model (3.5 or better recommended), and obtain your model's deployment name, e.g. 'mygpt4modeldeployment'.
  6. Choose an Azure OpenAI API version, e.g. "2024-02-01". The available OpenAI API versions can be found here.
  7. After cloning the repository (steps below), rename the provided .env-example file to just '.env', and enter the corresponding values from the previous steps.

Installing the App

Open up a Terminal (macOS/Linux) or PowerShell (Windows) and enter the following commands:

Cloning the repository

git clone https://github.com/Underdoge/ReadMyNews

cd ReadMyNews

Creating the virtual environment

python -m venv venv

Activating the virtual environment on macOS / Linux

source venv/bin/activate

Activating the virtual environment on Windows (PowerShell)

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
.\venv\Scripts\Activate.ps1

Installing requirements

pip install -r requirements.txt

Installing ffmpeg (required for Speech Synthesis)

On Windows

winget install ffmpeg

On Linux (Ubuntu and other distros)

apt install ffmpeg

On macOS (using brew)

brew install ffmpeg

Running the App

Running the command line app

python app.py

Running the Streamlit app

streamlit run streamlit.py

Dataset Source

Acknowledgements

Responsible AI

About

Project presented in The innovation Challenge hackathon 2024 that was sponsored by Microsoft. We gave it the name of Read My News and it was an interesting application built to show AI can improve tech accesibility for people with disabilities, we used some interesting Azure services such as azure AI Speech and Azure open AI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 52.0%
  • Jupyter Notebook 48.0%