ArunK-2003 commited on
Commit
f5bf4b6
·
verified ·
1 Parent(s): 5c06682

Updated app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -369,9 +369,9 @@ else:
369
  audio_blob = bucket.blob(audio_blob_name)
370
  audio_url = audio_blob.generate_signed_url(expiration=timedelta(hours=1), method='GET')
371
 
372
- summary = re.search(r"Summary\n(.*?)\n\n", summary_content, re.DOTALL).group(1).strip()
373
- key_points = re.findall(r"- (.*?)\n", re.search(r"Key Points\n(.*?)\n\n", summary_content, re.DOTALL).group(1))
374
- action_items = re.findall(r"- (.*?)\n", re.search(r"Action Items\n(.*)", summary_content, re.DOTALL).group(1))
375
 
376
  transcription_blob = bucket.blob(transcription_blob_name)
377
  with transcription_blob.open("r") as file:
 
369
  audio_blob = bucket.blob(audio_blob_name)
370
  audio_url = audio_blob.generate_signed_url(expiration=timedelta(hours=1), method='GET')
371
 
372
+ summary = re.search(r"Summary(.*?)\n\n", summary_content, re.DOTALL).group(1).strip()
373
+ key_points = re.findall(r"- (.*?)\n", re.search(r"Key Points(.*?)\n\n", summary_content, re.DOTALL).group(1))
374
+ action_items = re.findall(r"- (.*?)\n", re.search(r"Action Items(.*)", summary_content, re.DOTALL).group(1))
375
 
376
  transcription_blob = bucket.blob(transcription_blob_name)
377
  with transcription_blob.open("r") as file: