Spaces:
Running
Running
pedropauletti
commited on
Commit
•
9cc056e
1
Parent(s):
333bac6
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def load_qa_model():
|
|
15 |
scale_score=False,
|
16 |
)
|
17 |
# Get dataframe with columns "question", "answer" and some custom metadata
|
18 |
-
df = pd.read_csv('
|
19 |
# Minimal cleaning
|
20 |
df.fillna(value="", inplace=True)
|
21 |
df["question"] = df["question"].apply(lambda x: x.strip())
|
|
|
15 |
scale_score=False,
|
16 |
)
|
17 |
# Get dataframe with columns "question", "answer" and some custom metadata
|
18 |
+
df = pd.read_csv('social-faq.csv', on_bad_lines='skip', delimiter=';')
|
19 |
# Minimal cleaning
|
20 |
df.fillna(value="", inplace=True)
|
21 |
df["question"] = df["question"].apply(lambda x: x.strip())
|