ggoknar commited on
Commit
bd470e7
1 Parent(s): f24201b

set default modifier to 0.9 for a T4 GPU

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ from TTS.utils.generic_utils import get_user_data_dir
32
  # This is a modifier for fast GPU (e.g. 4060, as that is pretty speedy for generation)
33
  # For older cards (like 2070 or T4) will reduce value to to smaller for unnecessary waiting
34
  # Could not make play audio next work seemlesly on current Gradio with autoplay so this is a workaround
35
- AUDIO_WAIT_MODIFIER = float(os.environ.get("AUDIO_WAIT_MODIFIER", 1))
36
 
37
  # if set will try to stream audio while receveng audio chunks, beware that recreating audio each time produces artifacts
38
  DIRECT_STREAM = int(os.environ.get("DIRECT_STREAM", 0))
 
32
  # This is a modifier for fast GPU (e.g. 4060, as that is pretty speedy for generation)
33
  # For older cards (like 2070 or T4) will reduce value to to smaller for unnecessary waiting
34
  # Could not make play audio next work seemlesly on current Gradio with autoplay so this is a workaround
35
+ AUDIO_WAIT_MODIFIER = float(os.environ.get("AUDIO_WAIT_MODIFIER", 0.9))
36
 
37
  # if set will try to stream audio while receveng audio chunks, beware that recreating audio each time produces artifacts
38
  DIRECT_STREAM = int(os.environ.get("DIRECT_STREAM", 0))