Spaces:
Build error
Build error
Commit
·
e39127e
1
Parent(s):
a3ff196
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ for entry in imdb_data:
|
|
20 |
'text': ' '.join(words),
|
21 |
'label': entry['label']
|
22 |
}
|
23 |
-
|
24 |
|
25 |
# Convert the preprocessed data to a dataset
|
26 |
dataset = load_dataset('json', data=preprocessed_data)
|
|
|
20 |
'text': ' '.join(words),
|
21 |
'label': entry['label']
|
22 |
}
|
23 |
+
preprocessed_data.append(preprocessed_entry)
|
24 |
|
25 |
# Convert the preprocessed data to a dataset
|
26 |
dataset = load_dataset('json', data=preprocessed_data)
|