remove params from blocks signature (#1841)

This commit is contained in:
Ali Abdalla 2022-07-20 19:46:33 +01:00 committed by GitHub
parent 493cf7c069
commit c2f2fd6d3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ def override_signature(name, signature):
if cls["name"] == name:
cls["override_signature"] = signature
override_signature("Blocks", "with gradio.Blocks(theme, analytics_enabled, mode):")
override_signature("Blocks", "with gradio.Blocks():")
override_signature("Row", "with gradio.Row():")
override_signature("Column", "with gradio.Column():")
override_signature("Tabs", "with gradio.Tabs():")