ammaan commited on
Commit
a9cfde5
·
verified ·
1 Parent(s): 5770717

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -29,7 +29,7 @@ def get_youtube_transcript(video_url):
29
  text_transcript = formatter.format_transcript(transcript)
30
  return text_transcript
31
  except Exception as e:
32
- return f"An error occurred: {e}"
33
 
34
  def summarize_text(text):
35
  try:
 
29
  text_transcript = formatter.format_transcript(transcript)
30
  return text_transcript
31
  except Exception as e:
32
+ return e
33
 
34
  def summarize_text(text):
35
  try: