hexgrad commited on
Commit
051bd38
·
verified ·
1 Parent(s): fc16ee4

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -293,7 +293,7 @@ def generate(text, voice='af', ps=None, speed=1, trim=0.5, use_gpu='auto', sk=No
293
  if not sk and (text in sents or ps.strip('"') in harvsents):
294
  sk = os.environ['SK']
295
  if sk not in {os.environ['SK'], os.environ['ARENA']}:
296
- print('❌', datetime.now(), text, voices, use_gpu, sk)
297
  return (None, '')
298
  voices = resolve_voices(voice, warn=ps)
299
  speed = clamp_speed(speed)
 
293
  if not sk and (text in sents or ps.strip('"') in harvsents):
294
  sk = os.environ['SK']
295
  if sk not in {os.environ['SK'], os.environ['ARENA']}:
296
+ print('❌', datetime.now(), text, voice, use_gpu, sk)
297
  return (None, '')
298
  voices = resolve_voices(voice, warn=ps)
299
  speed = clamp_speed(speed)