Mahiruoshi commited on
Commit
18c9731
1 Parent(s): 0a755d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -193,9 +193,9 @@ def create_tts_fn(net_g,hps,speaker_id):
193
  audio_fin = []
194
  c = 0
195
  t = datetime.timedelta(seconds=0)
196
- f1 = open("subtitles.srt",'w',encoding='utf-8')
197
  for sentence in final_list:
198
  try:
 
199
  c +=1
200
  stn_tst = get_text(sle(language,sentence),hps)
201
  with torch.no_grad():
 
193
  audio_fin = []
194
  c = 0
195
  t = datetime.timedelta(seconds=0)
 
196
  for sentence in final_list:
197
  try:
198
+ f1 = open("subtitles.srt",'w',encoding='utf-8')
199
  c +=1
200
  stn_tst = get_text(sle(language,sentence),hps)
201
  with torch.no_grad():