Update ui.py

pull/741/head
wei-z 2022-09-13 10:36:55 +08:00 committed by GitHub
parent f9982797cf
commit 035c39c562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -205,7 +205,7 @@ class UI(QDialog):
self.record_button.setText("Recording...")
self.record_button.setDisabled(True)
self.log("recording %d seconds of audio" % duration)
self.log("Recording %d seconds of audio" % duration)
sd.stop()
try:
wav = sd.rec(duration * sample_rate, sample_rate, 1)
@ -277,7 +277,6 @@ class UI(QDialog):
" in %s \n" \
"Please note use 'E:\datasets' as root path " \
"instead of 'E:\datasets\aidatatang_200zh\corpus/test' as an example " % datasets_root)
self.log(msg)
msg += ".\nThe recognized datasets are:\n\t%s\nFeel free to add your own. You " \
"can still use the toolbox by recording samples yourself." % \