lavanyagarg112 / meetwise

MeetWise: Streamline Your Meetings, Elevate Your Productivity.
https://meetwise-xb1s.onrender.com/
0 stars 0 forks source link

Summary and todo #40

Closed kimxw closed 4 months ago

kimxw commented 4 months ago

Description: This PR introduces a method to transcribe audio files and generate meeting summaries and to-do lists using the Meeting class.

Sample Usage:


import io
import os
from audio_transcription import transcribe
import Meeting

file_path = "backend/testFiles/meetingTest1.mp3"

with open(file_path, "rb") as f:
    mp3_data = f.read()
file_obj = io.BytesIO(mp3_data)

transcription_text = transcribe(file_obj)
transcription_size = len(transcription_text)

meeting = Meeting.Meeting(transcription_text)
summary = meeting.generate_summary()
todo = meeting.generate_todo()