Use ResizeHandleRow for z123 and svd (#168)
This commit is contained in:
parent
ce21e7afe4
commit
44b647a83e
@ -7,6 +7,7 @@ import modules.infotext_utils as parameters_copypaste
|
||||
from modules import script_callbacks
|
||||
from modules.paths import models_path
|
||||
from modules.ui_common import ToolButton, refresh_symbol
|
||||
from modules.ui_components import ResizeHandleRow
|
||||
from modules import shared
|
||||
|
||||
from modules_forge.forge_util import numpy_to_pytorch, pytorch_to_numpy, write_images_to_mp4
|
||||
@ -59,7 +60,7 @@ def predict(filename, width, height, video_frames, motion_bucket_id, fps, augmen
|
||||
|
||||
def on_ui_tabs():
|
||||
with gr.Blocks() as svd_block:
|
||||
with gr.Row():
|
||||
with ResizeHandleRow():
|
||||
with gr.Column():
|
||||
input_image = gr.Image(label='Input Image', source='upload', type='numpy', height=400)
|
||||
|
||||
|
@ -6,6 +6,7 @@ import pathlib
|
||||
from modules import script_callbacks
|
||||
from modules.paths import models_path
|
||||
from modules.ui_common import ToolButton, refresh_symbol
|
||||
from modules.ui_components import ResizeHandleRow
|
||||
from modules import shared
|
||||
|
||||
from modules_forge.forge_util import numpy_to_pytorch, pytorch_to_numpy
|
||||
@ -52,7 +53,7 @@ def predict(filename, width, height, batch_size, elevation, azimuth,
|
||||
|
||||
def on_ui_tabs():
|
||||
with gr.Blocks() as model_block:
|
||||
with gr.Row():
|
||||
with ResizeHandleRow():
|
||||
with gr.Column():
|
||||
input_image = gr.Image(label='Input Image', source='upload', type='numpy', height=400)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user