Better TTS with autoplay

- Adds "still_streaming" to shared module for extensions to know if generation is complete
- Changed TTS extension with new options:
   - Show text under the audio widget
   - Automatically play the audio once text generation finishes
   - manage the generated wav files (only keep files for finished generations, optional max file limit)
   - [wip] ability to change voice pitch and speed
- added 'tensorboard' to requirements, since python sent "tensorboard not found" errors after a fresh installation.
This commit is contained in:
Xan 2023-03-08 22:02:17 +11:00
parent c93f1fa99b
commit ad6b699503
5 changed files with 67 additions and 7 deletions

View file

@ -12,6 +12,7 @@ is_LLaMA = False
history = {'internal': [], 'visible': []}
character = 'None'
stop_everything = False
still_streaming = False
# UI elements (buttons, sliders, HTML, etc)
gradio = {}