rbawden commited on
Commit
7934af1
1 Parent(s): 6a62bb3

Update DiaBLa.py

Browse files
Files changed (1) hide show
  1. DiaBLa.py +1 -1
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