Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
17 |
pipe = pipeline('question-answering', model=model_name, tokenizer=model_name)
|
18 |
|
19 |
# Load DFA Press Release dataset
|
20 |
-
df = pd.read_csv('dfa_pr_v5_cleaned.csv')
|
21 |
|
22 |
# Group into 6 sentences-long parts
|
23 |
partitions = df['article'].values.tolist()
|
|
|
17 |
pipe = pipeline('question-answering', model=model_name, tokenizer=model_name)
|
18 |
|
19 |
# Load DFA Press Release dataset
|
20 |
+
df = pd.read_csv('dfa_pr_v5_cleaned.csv', nrows=20)
|
21 |
|
22 |
# Group into 6 sentences-long parts
|
23 |
partitions = df['article'].values.tolist()
|