Implement "*Is recording a voice message...*" for TTS #303
This commit is contained in:
parent
0dab2c5dc5
commit
3fb8196e16
3 changed files with 9 additions and 4 deletions
|
@ -81,6 +81,7 @@ def input_modifier(string):
|
|||
if (shared.args.chat or shared.args.cai_chat) and len(shared.history['internal']) > 0:
|
||||
shared.history['visible'][-1] = [shared.history['visible'][-1][0], shared.history['visible'][-1][1].replace('controls autoplay>','controls>')]
|
||||
|
||||
shared.processing_message = "*Is recording a voice message...*"
|
||||
return string
|
||||
|
||||
def output_modifier(string):
|
||||
|
@ -119,6 +120,7 @@ def output_modifier(string):
|
|||
if params['show_text']:
|
||||
string += f'\n\n{original_string}'
|
||||
|
||||
shared.processing_message = "*Is typing...*"
|
||||
return string
|
||||
|
||||
def bot_prefix_modifier(string):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue