Student0809's picture
Add files using upload-large-folder tool
cb2428f verified
raw
history blame contribute delete
617 Bytes
# Copyright (c) Alibaba, Inc. and its affiliates.
from dataclasses import dataclass
@dataclass
class WebUIArguments:
"""
Args:
server_name (str): The hostname or IP address to bind the web UI server to. Default is '0.0.0.0'.
server_port (int): The port number to bind the web UI server to. Default is 7860.
share (bool): A flag indicating whether to share the web UI publicly. Default is False.
lang (str): The language setting for the web UI. Default is 'zh'.
"""
server_name: str = '0.0.0.0'
server_port: int = 7860
share: bool = False
lang: str = 'zh'