fahadqazi commited on
Commit
aaf4096
·
1 Parent(s): 822f07f

accent detection

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -72,6 +72,8 @@ def analyze_accent(url_or_file):
72
  if len(transcript[0].strip()) < 3:
73
  return "Could not understand speech. Please try another video."
74
 
 
 
75
  # Accent classification
76
  result = classify_accent(waveform, sample_rate)
77
 
 
72
  if len(transcript[0].strip()) < 3:
73
  return "Could not understand speech. Please try another video."
74
 
75
+ print("Transcript:", transcript)
76
+
77
  # Accent classification
78
  result = classify_accent(waveform, sample_rate)
79