This project is a Podcast Summarizer that utilizes two external APIs: AssemblyAI for transcription and ListenNotes for accessing podcast episode details. The project consists of three main files: api_secrets.py
, api_communication.py
, and main.py
.
You need to look for the episode ID from Listen Notes API. For example, the episode ID of https://www.listennotes.com/api/docs/?id=1ff9faf49d914df8b6fa450c5b00804a#get-api-v2-episodes-id is 1ff9faf49d914df8b6fa450c5b00804a
In this file, you need to provide the API keys for AssemblyAI and ListenNotes. Replace 'api_key_1'
and 'api_key_2'
with your actual API keys.
# api_secrets.py
API_KEY_ASSEMBLYAI = 'api_key_1'
API_KEY_LISTENNOTES = 'api_key_2'
This file handles the communication with the external APIs, transcribes podcast episodes, and saves the transcripts and chapter information. It utilizes the provided API keys from api_secrets.py
.
# api_communication.py
# ... (Code for API communication and transcription)
The main script uses Streamlit to create a user interface for interacting with the Podcast Summarizer. Users can input an episode ID, click a button to download the episode summary, and view the summarized content along with chapter information.
# main.py
# ... (Code for Streamlit UI and interaction)
-
Open
api_secrets.py
and replace the placeholder API keys with your actual AssemblyAI and ListenNotes API keys. -
Run
main.py
to launch the Streamlit app. -
Input the desired episode ID in the provided text input field.
-
Click the "Download Episode Summary" button to initiate the transcription process.
-
Once completed, the episode summary and chapter information will be displayed in the Streamlit app.
Feel free to explore and enhance the project according to your requirements!