DrishtiSharma commited on
Commit
c120622
1 Parent(s): 043c07c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def sexism_detection(transcribed_text):
34
 
35
  #Defining a function which will output Spanish audio transcription and the detected sentiment
36
  def asr_and_sexism_detection(input_file):
37
- transcribed_text = speech_to_text(input_text)
38
  sexism_detection = sexism_detection(transcribed_text)
39
  if sexism_detection == "LABEL_0":
40
  return "The input audio contains NON-SEXIST language"
 
34
 
35
  #Defining a function which will output Spanish audio transcription and the detected sentiment
36
  def asr_and_sexism_detection(input_file):
37
+ transcribed_text = speech_to_text(input_file)
38
  sexism_detection = sexism_detection(transcribed_text)
39
  if sexism_detection == "LABEL_0":
40
  return "The input audio contains NON-SEXIST language"