mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 09:19:23 +01:00
Exit elevenlabs_tts if streaming is enabled
This commit is contained in:
parent
31ab2be8ef
commit
a90f507abe
@ -15,6 +15,9 @@ wav_idx = 0
|
||||
user = ElevenLabsUser(params['api_key'])
|
||||
user_info = None
|
||||
|
||||
if not shared.args.no_stream:
|
||||
print("Please add --no-stream. This extension is not meant to be used with streaming.")
|
||||
raise ValueError
|
||||
|
||||
# Check if the API is valid and refresh the UI accordingly.
|
||||
def check_valid_api():
|
||||
|
Loading…
Reference in New Issue
Block a user