styling rework to make things more compact

This commit is contained in:
AUTOMATIC
2023-01-03 09:04:29 +03:00
parent 269f6e8676
commit 18c03cdeac
3 changed files with 92 additions and 77 deletions

View File

@@ -16,3 +16,10 @@ class FormRow(gr.Row, gr.components.FormComponent):
def get_block_name(self):
return "row"
class FormGroup(gr.Group, gr.components.FormComponent):
"""Same as gr.Row but fits inside gradio forms"""
def get_block_name(self):
return "group"