Spaces:
Runtime error
Runtime error
Commit
·
a028c28
1
Parent(s):
1987712
Update app.py
Browse files
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=
|
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()
|