DEV Community

Pranav Munigala
Pranav Munigala

Posted on

Player Announcer Tool

This is the next project in my beginner series, where I explore how to incorporate AI into Python projects by combining it with something I’m passionate about: basketball. My latest project is an AI-powered hype announcer that generates and reads out dramatic NBA-style player introductions.

In this app, users can enter the name of any basketball player. After clicking a button, the app produces a high-energy, announcer-style introduction and plays the audio using a realistic AI-generated voice.

Tools I Used:

  • Streamlit to build the interactive user interface
  • LangChain to structure the prompt and manage the AI response
  • OpenAI’s GPT-3.5 Turbo to generate the announcer script
  • ElevenLabs to convert text into realistic speech
  • Python-dotenv to securely load my API key

Each project in this series helps me build my skills in both coding and AI while keeping it fun by focusing on basketball. I’m looking forward to continuing this series with new features and ideas. As always, feedback is appreciated.

YouTube video to show how this works:https://www.youtube.com/watch?v=K9AparJ-HOU

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.