Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix web launch bug #3274

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion fastchat/serve/gradio_web_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,12 @@ def build_demo(models):
action="store_true",
help="Enable content moderation to block unsafe inputs",
)
parser.add_argument(
"--use_remote_storage",
type=bool,
default=False,
help="Whether to use remote storage when using image",
)
parser.add_argument(
"--show-terms-of-use",
action="store_true",
Expand All @@ -993,7 +999,7 @@ def build_demo(models):
logger.info(f"args: {args}")

# Set global variables
set_global_vars(args.controller_url, args.moderate)
set_global_vars(args.controller_url, args.moderate, args.use_remote_storage)
models, all_models = get_model_list(
args.controller_url, args.register_api_endpoint_file, False
)
Expand Down
Loading