OuroborosM commited on
Commit
3189246
·
1 Parent(s): 8fcaf04

redefine doc name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -312,7 +312,7 @@ def text_to_speech_2(text):
312
  """,
313
  )
314
  response.raise_for_status()
315
- timestr = time.strftime("%Y%m%d-%H%M")
316
  with open('sample-' + timestr + '.wav', 'wb') as audio:
317
  audio.write(response.content)
318
  print ("File Name ", audio.name)
 
312
  """,
313
  )
314
  response.raise_for_status()
315
+ timestr = time.strftime("%Y%m%d-%H%M%S")
316
  with open('sample-' + timestr + '.wav', 'wb') as audio:
317
  audio.write(response.content)
318
  print ("File Name ", audio.name)