zero2story / interfaces /view_change_ui.py
chansung's picture
.
a1ca2de
raw
history blame
255 Bytes
import gradio as gr
def move_to_next_view():
return (
gr.update(visible=False),
gr.update(visible=True),
)
def back_to_previous_view():
return (
gr.update(visible=True),
gr.update(visible=False),
)