ammaan commited on
Commit
0cc4145
·
verified ·
1 Parent(s): 61e269a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -32,7 +32,7 @@ def get_youtube_transcript(video_url):
32
  return f"An error occurred: {e}"
33
 
34
  def summarize_text(text):
35
- summarized_text = text_summary(text)
36
  return summarized_text[0]['summary_text']
37
 
38
  # Get the input from the frontend
 
32
  return f"An error occurred: {e}"
33
 
34
  def summarize_text(text):
35
+ summarized_text = text_summary(str(text))
36
  return summarized_text[0]['summary_text']
37
 
38
  # Get the input from the frontend