ma2za commited on
Commit
6bf028f
·
1 Parent(s): 535513f

Upload many_emotions.py

Browse files
Files changed (1) hide show
  1. many_emotions.py +1 -1
many_emotions.py CHANGED
@@ -160,7 +160,7 @@ class EmotionsDataset(datasets.GeneratorBasedBuilder):
160
  "license": license,
161
  "label": emo_mapping[ce]}
162
 
163
- def _generate_examples(self, filepaths, dataset, license):
164
  if dataset == "go_emotions":
165
  for i, filepath in enumerate(filepaths):
166
  df = pd.read_csv(filepath)
 
160
  "license": license,
161
  "label": emo_mapping[ce]}
162
 
163
+ def _generate_examples(self, filepaths, dataset, license=None):
164
  if dataset == "go_emotions":
165
  for i, filepath in enumerate(filepaths):
166
  df = pd.read_csv(filepath)