import gradio as gr from classify_utils import classify_tab from detect_utils import detect_tab if __name__ == '__main__': gr.TabbedInterface( [detect_tab, classify_tab], tab_names=['Image Detection', 'Image Classification'] ).queue().launch()