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

Support Bailing LLM from ALIPAY for #3487 #3543

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
BugFix: input Context for load_demo instead list
New code defines the Context class and use it as input parameter.
  • Loading branch information
cuauty committed Nov 4, 2024
commit ba8a24660e72654b7c1b8b9d3243bcdbcda34034
3 changes: 2 additions & 1 deletion fastchat/serve/gradio_web_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ def load_demo(url_params, request: gr.Request):
controller_url, args.register_api_endpoint_file, vision_arena=False
)

return load_demo_single(models, url_params)
current_context = Context(text_models=models, models=models)
return load_demo_single(current_context, url_params)


def vote_last_response(state, vote_type, model_selector, request: gr.Request):
Expand Down
Loading