import gradio as gr from cedula.app import get_attributes as cedula_get_attributes from license.app import get_attributes as license_get_attributes with gr.Blocks() as demo: with gr.Tab("Cedula"): gr.Interface(cedula_get_attributes, "file", "label") with gr.Tab("Licencia"): gr.Interface(license_get_attributes, "file", "label") demo.launch()