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

feat(llm): add auth for fastapi and gradio #70

Merged
merged 3 commits into from
Aug 20, 2024

Conversation

ChenZiHong-Gavin
Copy link
Contributor

  1. add auth to gradio(using auth provided by gradio)
    auth – If provided, username and password (or list of username-password tuples) required to access the gradio app. Can also provide function that takes username and password and returns True if valid login.
    refer: https://www.gradio.app/main/docs/gradio/blocks
  2. add auth to fastapi(using APIRouter)
    refer: https://fastapi.tiangolo.com/reference/apirouter/#fastapi.APIRouter

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request labels Aug 19, 2024
@github-actions github-actions bot added the llm label Aug 19, 2024
@imbajin imbajin merged commit 4ba34bc into apache:main Aug 20, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request llm size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants