Skip to content

With gradio 6 JS does NOT work after move from init to launch, so must downgrade to gradio 5.49.1#12486

Description

@AngelTs

Describe the bug

gradio 6 does not work with theme keyword, use gradio 5.49.1

Have you searched existing issues? 馃攷

  • I have searched and found no existing issues

Reproduction

...
with gr.Blocks(title=".....", theme=gr.themes.Soft(),
...
will produce the error:
[TypeError: BlockContext.init() got an unexpected keyword argument 'theme'



### Screenshot

_No response_

### Logs

```shell

System Info

gradio 6
gradio 5.49.1

Severity

I can work around it

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneeds reproAwaiting full reproduction

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions