Spaces:
Build error
Build error
Update app.py
Browse files11 unmodified lines12131415151617181923 unmodified lines4344454546474849279 unmodified lines329330331331332333334335336336337338339340154 unmodified lines49549649749749849849950050150243 unmodified lines54654754854854955055155244 unmodified lines59759859959960060160260348 unmodified lines65265365465465565665765832 unmodified lines69169269369369469569669711 unmodified linesfrom datetime import datetimeimport requestsfrom requests.exceptions import RequestExceptionfromfrom typing import Optional, Dict, Any typing import Optional, Dict, Anyfrom download import download_video_audio, delete_downloadfrom st_audiorec import st_audiorec # Import the audio recorder component
23 unmodified lines
# Set page configurationst.set_page_config( page_title="ScribeWizard π§ββοΈ", page_title="NoteME", page_icon="π§ββοΈ", layout="wide",279 unmodified lines prompt = f""" You are an expert meeting notes organizer with exceptional skills in creating structured, clear, and comprehensive notes. Please analyze the following transcript and transform it into highly organized meeting notes: Please analyze the following transcript and transform it into organized meeting notes in the same language as the Transcript ensuring Clarity:
``` {transcript} ```
Create a professional meeting notes document with the following specific sections:
# Executive Summary154 unmodified lines )
def main(): st.title("π§ββοΈ ScribeWizard") st.markdown("Transform speech into highly structured notes with AI magic") st.title("π§ββοΈ Note") st.markdown("Transform speech into structured notes") # Initialize API key from environment (Hugging Face secrets) if st.session_state.api_key and not st.session_state.groq_client:43 unmodified lines st.markdown(transcript) if st.button("Generate Structured Notes", key="generate_live"): with st.spinner("Creating highly structured notes..."): with st.spinner("Creating structured notes..."): notes = process_transcript(transcript) if notes:44 unmodified lines with st.expander("View Transcript", expanded=True): st.markdown(transcript) with st.spinner("Creating highly structured notes..."): with st.spinner("Creating structured notes..."): notes = process_transcript(transcript) if notes:48 unmodified lines with st.expander("View Transcript", expanded=True): st.markdown(transcript) with st.spinner("Creating highly structured notes..."): with st.spinner("Creating structured notes..."): notes = process_transcript(transcript) if notes:32 unmodified lines st.session_state.transcript = transcript if st.button("Generate Structured Notes", key="process_text"): with st.spinner("Creating highly structured notes..."): with st.spinner("Creating structured notes..."): notes = process_transcript(transcript) if notes:app.py+11-10