Arslan17121 commited on
Commit
6575dad
·
verified ·
1 Parent(s): 5658e6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def extract_text_from_pdf(pdf_file):
17
 
18
  # Function to generate discussion points with adjustable summary length
19
  def generate_discussion_points(text, user_prompt=None):
20
- summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
21
 
22
  # Optionally include the user's prompt to guide the summary
23
  if user_prompt:
 
17
 
18
  # Function to generate discussion points with adjustable summary length
19
  def generate_discussion_points(text, user_prompt=None):
20
+ summarizer = pipeline("explaination", model="facebook/bart-large-cnn")
21
 
22
  # Optionally include the user's prompt to guide the summary
23
  if user_prompt: