rework hires fix preview for #6437: movie it to where it takes less place, make it actually account for all relevant sliders and calculate dimensions correctly

This commit is contained in:
AUTOMATIC
2023-01-07 09:56:37 +03:00
parent de97380445
commit 1a5b86ad65
4 changed files with 52 additions and 14 deletions

View File

@@ -23,3 +23,11 @@ class FormGroup(gr.Group, gr.components.FormComponent):
def get_block_name(self):
return "group"
class FormHTML(gr.HTML, gr.components.FormComponent):
"""Same as gr.HTML but fits inside gradio forms"""
def get_block_name(self):
return "html"