eabo commited on
Commit
c42dafc
·
1 Parent(s): 4ab037d

'add translation'

Browse files
Files changed (1) hide show
  1. whisperui.py +2 -2
whisperui.py CHANGED
@@ -26,9 +26,9 @@ class WhisperModelUI(object):
26
  try:
27
  asr_model = whisper.load_model(model_type.lower())
28
  self.whisper_model = asr_model
29
- status = "{} Model is loaded successfully".format(model_type)
30
  except:
31
- status = "error in loading {} model".format(model_type)
32
 
33
  return status, str(self.whisper_model)
34
 
 
26
  try:
27
  asr_model = whisper.load_model(model_type.lower())
28
  self.whisper_model = asr_model
29
+ status = "{} ロード完了".format(model_type)
30
  except:
31
+ status = "ロードエラー {} model".format(model_type)
32
 
33
  return status, str(self.whisper_model)
34