Added an audible notification after text generation in web. (#1277)
--------- Co-authored-by: oobabooga <112222186+oobabooga@users.noreply.github.com>
This commit is contained in:
parent
1b52bddfcc
commit
a3e9769e31
4 changed files with 37 additions and 9 deletions
12
docs/Audio-Notification.md
Normal file
12
docs/Audio-Notification.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Audio notification
|
||||
|
||||
If your computer takes a long time to generate each response for the model that you are using, you can enable an audio notification for when the response is completed. This feature was kindly contributed by HappyWorldGames in [#1277](https://github.com/oobabooga/text-generation-webui/pull/1277).
|
||||
|
||||
### Installation
|
||||
|
||||
Simply place a file called "notification.mp3" in the same folder as `server.py`. Here you can find some examples (source: https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/1126):
|
||||
|
||||
* https://pixabay.com/sound-effects/search/ding/?duration=0-30
|
||||
* https://pixabay.com/sound-effects/search/notification/?duration=0-30
|
||||
|
||||
This file will be automatically detected the next time you start the web UI.
|
||||
Loading…
Add table
Add a link
Reference in a new issue