import gradio as gr from annotation_example.gradio_ui.sv_sam import single_view_block title = """# Segment Anything and Depth Anything""" description1 = """ badge-github-stars social """ description2 = "Using a combination of models to track an object in 3D" with gr.Blocks() as demo: gr.Markdown(title) gr.Markdown(description1) gr.Markdown(description2) with gr.Tab("Monocular"): single_view_block.render() if __name__ == "__main__": demo.queue(max_size=2).launch(ssr_mode=False)