mirror of
https://github.com/FunAudioLLM/CosyVoice.git
synced 2026-02-04 17:39:25 +08:00
update stream code
This commit is contained in:
2
webui.py
2
webui.py
@@ -164,7 +164,7 @@ def main():
|
||||
outputs=[audio_output])
|
||||
mode_checkbox_group.change(fn=change_instruction, inputs=[mode_checkbox_group], outputs=[instruction_text])
|
||||
demo.queue(max_size=4, default_concurrency_limit=2)
|
||||
demo.launch(server_port=args.port)
|
||||
demo.launch(server_name='0.0.0.0', server_port=args.port)
|
||||
|
||||
if __name__ == '__main__':
|
||||
parser = argparse.ArgumentParser()
|
||||
|
||||
Reference in New Issue
Block a user