Datasets:
Update DiaBLa.py
Browse files
DiaBLa.py
CHANGED
@@ -173,7 +173,7 @@ class Diabla(datasets.GeneratorBasedBuilder):
|
|
173 |
dialogue_info['end_time'] = ''
|
174 |
for final_eval in 'final_evaluation_user1', 'final_evaluation_user2':
|
175 |
# Initialise when empty
|
176 |
-
if dialogue_info[final_eval]
|
177 |
dialogue_info[final_eval] = {'grammaticality': '', 'meaning': '',
|
178 |
'coherence': '', 'style': '', 'word_choice': ''}
|
179 |
# Remove some information
|
|
|
173 |
dialogue_info['end_time'] = ''
|
174 |
for final_eval in 'final_evaluation_user1', 'final_evaluation_user2':
|
175 |
# Initialise when empty
|
176 |
+
if dialogue_info[final_eval] == {}:
|
177 |
dialogue_info[final_eval] = {'grammaticality': '', 'meaning': '',
|
178 |
'coherence': '', 'style': '', 'word_choice': ''}
|
179 |
# Remove some information
|