TaahKay commited on
Commit
f2557db
·
verified ·
1 Parent(s): fd4271f

Update utils/accent_analysis.py

Browse files
Files changed (1) hide show
  1. utils/accent_analysis.py +1 -1
utils/accent_analysis.py CHANGED
@@ -46,6 +46,6 @@ def analyze_accent(audio_tensor, sample_rate, model):
46
  readable = ACCENT_LABELS.get(accent_label, accent_label.title() + " accent")
47
  return readable, round(score[0].item() * 100, 2)
48
  except Exception:
49
- st.error("Error during classification.")
50
  st.code(traceback.format_exc())
51
  return None, None
 
46
  readable = ACCENT_LABELS.get(accent_label, accent_label.title() + " accent")
47
  return readable, round(score[0].item() * 100, 2)
48
  except Exception:
49
+ st.error("Error during classification.")
50
  st.code(traceback.format_exc())
51
  return None, None