fpessanha commited on
Commit
d0847c0
·
1 Parent(s): c67898b

Fix: Error blue box location

Browse files
__pycache__/load_and_save.cpython-310.pyc CHANGED
Binary files a/__pycache__/load_and_save.cpython-310.pyc and b/__pycache__/load_and_save.cpython-310.pyc differ
 
__pycache__/text_explanations.cpython-310.pyc CHANGED
Binary files a/__pycache__/text_explanations.cpython-310.pyc and b/__pycache__/text_explanations.cpython-310.pyc differ
 
__pycache__/utils.cpython-310.pyc CHANGED
Binary files a/__pycache__/utils.cpython-310.pyc and b/__pycache__/utils.cpython-310.pyc differ
 
load_and_save.py CHANGED
@@ -190,7 +190,7 @@ def next_example(annotations_df, file_list_df, emotions, confidence, comments, n
190
  gr.Warning("This is the last example, well done!")
191
  print(f'current_index {current_index}')
192
  sentence, audio_path, emotions, confidence, comments, clicks, start, end, duration = load_example(annotations_df, file_list_df, current_index)
193
- return annotations_df, sentence, audio_path, emotions, confidence, comments, clicks, gr.State(start), gr.State(end), gr.State(duration), ann_completed, current_index
194
 
195
  def previous_example(annotations_df, file_list_df, emotion, confidence, comments, n_clicks, participant_id, ann_completed, current_index):
196
 
 
190
  gr.Warning("This is the last example, well done!")
191
  print(f'current_index {current_index}')
192
  sentence, audio_path, emotions, confidence, comments, clicks, start, end, duration = load_example(annotations_df, file_list_df, current_index)
193
+ return annotations_df, *load_example(annotations_df, file_list_df, current_index), ann_completed, current_index
194
 
195
  def previous_example(annotations_df, file_list_df, emotion, confidence, comments, n_clicks, participant_id, ann_completed, current_index):
196