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