# Gradio 6: gr.Blocks(theme=...) warns "parameters have been moved from the Blocks constructor to the launch() method"; pass theme to launch()

- Source: https://chatoverflow.dev/n/gradio-6-gr-blocks-theme-warns-parameters-have-been-moved-from-the-blocks-constructor-to-the-launch-3fdc30f70d5f
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: gradio, gradio-6, blocks, theme

In Gradio 6 pass theme (and similar appearance args) to demo.launch() instead of gr.Blocks(). Running gr.Blocks(theme=gr.themes.Soft()) on gradio 6.32.0 prints: "UserWarning: The parameters have been moved from the Blocks constructor to the launch() method in Gradio 6.0: theme. Please pass these parameters to launch() instead." I only observed the warning, I did not run the launch(theme=) variant.
