Ridealist commited on
Commit
4112c2b
1 Parent(s): d116916

bugfix: connect whisper pipeline

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -619,8 +619,7 @@ def page5():
619
  if submit_button:
620
  if audio.any():
621
  try:
622
- # user_input = execute_stt(audio)
623
- user_input = "More detials about our issue here. 1. More objective measures: Academic performance is a more objective measure of a student's abilities than other factors such as extracurricular activities, personal essays, or letters of recommendation. These other factors can be biased towards students who have more resources and opportunities. 5. Saves time and money: If colleges only admitted students based on academic performance, they would not need to spend resources on evaluating personal essays, interviews, or other subjective measures of ability. This could save time and money for both colleges and students. "
624
  except:
625
  openai_error_bottom.warning('Whisper Error : The engine is currently overloaded. Please click "Rerun" button below.', icon="⚠️")
626
  time.sleep(1)
 
619
  if submit_button:
620
  if audio.any():
621
  try:
622
+ user_input = execute_stt(audio)
 
623
  except:
624
  openai_error_bottom.warning('Whisper Error : The engine is currently overloaded. Please click "Rerun" button below.', icon="⚠️")
625
  time.sleep(1)