Skip to content

pass in kwargs to Blocks.load()#2669

Merged
abidlabs merged 3 commits into
mainfrom
blocks-load
Nov 18, 2022
Merged

pass in kwargs to Blocks.load()#2669
abidlabs merged 3 commits into
mainfrom
blocks-load

Conversation

@abidlabs
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

Copy link
Copy Markdown
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
Copy Markdown
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