sssssungk commited on
Commit
ab8067c
·
verified ·
1 Parent(s): 7441b82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -154,7 +154,7 @@ def convert_wav_to_text(wav_file_path):
154
  text = 'error'
155
  except sr.RequestError as e:
156
  text = 'error'
157
-
158
  return text
159
 
160
 
@@ -203,6 +203,11 @@ def main(file_name):
203
  text_list.append(text)
204
 
205
  text_list.append(convert_wav_to_text(audio_file))
 
 
 
 
 
206
  return rf_check, text_list
207
 
208
  def deepvoice_check(video_file):
 
154
  text = 'error'
155
  except sr.RequestError as e:
156
  text = 'error'
157
+
158
  return text
159
 
160
 
 
203
  text_list.append(text)
204
 
205
  text_list.append(convert_wav_to_text(audio_file))
206
+
207
+ # '제거
208
+ for i in range(len(text_list)):
209
+ text_list[i] = text_list[i]+"'"
210
+
211
  return rf_check, text_list
212
 
213
  def deepvoice_check(video_file):