Fluospark128 commited on
Commit
e972bc5
·
verified ·
1 Parent(s): a42faad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ from transformers import pipeline
4
 
5
  # Zero-shot classification pipeline
6
  @st.cache_resource
7
- def load_classifier():
8
-     return pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
9
 
10
  # Function to extract text from PDF
11
  def extract_text_from_pdf(pdf_file):
 
4
 
5
  # Zero-shot classification pipeline
6
  @st.cache_resource
7
+ #def load_classifier():
8
+ #return pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
9
 
10
  # Function to extract text from PDF
11
  def extract_text_from_pdf(pdf_file):