FastChat icon indicating copy to clipboard operation
FastChat copied to clipboard

Fix web launch bug

Open lvzii opened this issue 1 year ago • 0 comments

Fix argument missing bug. TypeError: set_global_vars() missing 1 required positional argument: 'use_remote_storage_'

Why are these changes needed?

python3 -m fastchat.serve.gradio_web_server launch failed.

info

""" 2024-04-23 07:32:13 | ERROR | stderr | Traceback (most recent call last): 2024-04-23 07:32:13 | ERROR | stderr | File "", line 198, in _run_module_as_main 2024-04-23 07:32:13 | ERROR | stderr | File "", line 88, in run_code 2024-04-23 07:32:13 | ERROR | stderr | File "/data/youshuji/FastChat/fastchat/serve/gradio_web_server.py", line 996, in 2024-04-23 07:32:13 | ERROR | stderr | set_global_vars(args.controller_url, args.moderate) 2024-04-23 07:32:13 | ERROR | stderr | TypeError: set_global_vars() missing 1 required positional argument: 'use_remote_storage' """

Related issue number (if applicable)

There is no issue yet

Checks

  • [x ] I've run format.sh to lint the changes in this PR.
  • [x ] I've included any doc changes needed.
  • [x ] I've made sure the relevant tests are passing (if applicable).

lvzii avatar Apr 23 '24 07:04 lvzii