EnzoBustos commited on
Commit
a028c28
·
1 Parent(s): 1987712

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def theme_classification(text, text_classifier):
81
 
82
  sid_obj = SentimentIntensityAnalyzer()
83
  classifier = pipeline("zero-shot-classification", model="joeddav/xlm-roberta-large-xnli")
84
- dataset = load_dataset('csv', data_files=file_dict, delimiter=',', column_names=["date", "url", "texts", "is_title", "theme", "translated"])
85
  df = pd.DataFrame(dataset)
86
 
87
  header = st.container()
 
81
 
82
  sid_obj = SentimentIntensityAnalyzer()
83
  classifier = pipeline("zero-shot-classification", model="joeddav/xlm-roberta-large-xnli")
84
+ dataset = load_dataset('csv', data_files=["Hugging Face DF.csv"], delimiter=',', column_names=["date", "url", "texts", "is_title", "theme", "translated"])
85
  df = pd.DataFrame(dataset)
86
 
87
  header = st.container()