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

Fix web launch bug #3274

wants to merge 1 commit into from

Conversation

lvzii
Copy link

@lvzii lvzii commented Apr 23, 2024

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).

Fix argument missing bug.
TypeError: set_global_vars() missing 1 required positional argument: 'use_remote_storage_'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant