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

pass in kwargs to Blocks.load() #2669

Merged
merged 3 commits into from
Nov 18, 2022
Merged

pass in kwargs to Blocks.load() #2669

merged 3 commits into from
Nov 18, 2022

Conversation

abidlabs
Copy link
Member

It seems like we accidentally stopped passing in **kwarg arguments from gr.Interface.load() to gr.Blocks.load(). This brings that back and adds a test to prevent regressions in the future.

Fixes: #2665

@github-actions
Copy link
Contributor

All the demos for this PR have been deployed at https://huggingface.co/spaces/gradio-pr-deploys/pr-2669-all-demos

Copy link
Collaborator

@freddyaboulton freddyaboulton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On mobile right now so i cant verify for myself but this looks good to me! Thanks @abidlabs

@abidlabs
Copy link
Member Author

Thanks for the quick review @freddyaboulton!

@abidlabs abidlabs merged commit 1c244cc into main Nov 18, 2022
@abidlabs abidlabs deleted the blocks-load branch November 18, 2022 01:22
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.

**kwargs are not being passed down for gr.Interface.load
2 participants