SarahMakk commited on
Commit
acd5a3a
·
verified ·
1 Parent(s): 9d83f0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,8 +2,8 @@ import streamlit as st
2
  from transformers import pipeline
3
  import nltk
4
 
5
- # Download NLTK data for sentence tokenization
6
- nltk.download('punkt')
7
 
8
  # Load the Hugging Face pipelines
9
  classifier = pipeline("zero-shot-classification", model="MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli")
 
2
  from transformers import pipeline
3
  import nltk
4
 
5
+ # Download NLTK data for sentence tokenization (updated to punkt_tab)
6
+ nltk.download('punkt_tab')
7
 
8
  # Load the Hugging Face pipelines
9
  classifier = pipeline("zero-shot-classification", model="MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli")