imessien commited on
Commit
59087a0
·
1 Parent(s): 8590757

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -67,10 +67,10 @@ def update():
67
  audio_answers = [audio.value for audio in inp] # Using inp as it collects all the audio inputs
68
 
69
  # Check if all questions have been answered
70
- if None in audio_answers:
71
- out_last_transcription.value = "Please answer all the questions before clicking Run."
72
- out_score.value = ""
73
- return
74
 
75
  # Handling the three returned values from the assistant function
76
  summarized_text, score_string, text_answers = assistant(*audio_answers)
 
67
  audio_answers = [audio.value for audio in inp] # Using inp as it collects all the audio inputs
68
 
69
  # Check if all questions have been answered
70
+ # if None in audio_answers:
71
+ # out_last_transcription.value = "Please answer all the questions before clicking Run."
72
+ # out_score.value = ""
73
+ # return
74
 
75
  # Handling the three returned values from the assistant function
76
  summarized_text, score_string, text_answers = assistant(*audio_answers)