Spaces:
Runtime error
Runtime error
Commit
·
89d814e
1
Parent(s):
a028c28
Update app.py
Browse files
app.py
CHANGED
@@ -81,8 +81,8 @@ def theme_classification(text, text_classifier):
|
|
81 |
|
82 |
sid_obj = SentimentIntensityAnalyzer()
|
83 |
classifier = pipeline("zero-shot-classification", model="joeddav/xlm-roberta-large-xnli")
|
84 |
-
|
85 |
-
df = pd.DataFrame(dataset)
|
86 |
|
87 |
header = st.container()
|
88 |
model = st.container()
|
|
|
81 |
|
82 |
sid_obj = SentimentIntensityAnalyzer()
|
83 |
classifier = pipeline("zero-shot-classification", model="joeddav/xlm-roberta-large-xnli")
|
84 |
+
df = 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()
|
88 |
model = st.container()
|