DrishtiSharma
commited on
Commit
•
f9697a4
1
Parent(s):
81b2874
Update app.py
Browse files
app.py
CHANGED
@@ -34,6 +34,7 @@ def harassment_detector(transcribed_text):
|
|
34 |
return harassment_detection
|
35 |
|
36 |
#Defining a function which outputs audio transcription and the output of harassment detection module
|
|
|
37 |
def asr_and_harassment_detection(input_file):
|
38 |
transcribed_text = speech_to_text(input_file)
|
39 |
harassment_detection = harassment_detector(transcribed_text)
|
|
|
34 |
return harassment_detection
|
35 |
|
36 |
#Defining a function which outputs audio transcription and the output of harassment detection module
|
37 |
+
new_line = "\n\n\n"
|
38 |
def asr_and_harassment_detection(input_file):
|
39 |
transcribed_text = speech_to_text(input_file)
|
40 |
harassment_detection = harassment_detector(transcribed_text)
|