clipai-demo / app.py
diegulio
Update app.py
360ff7a
raw
history blame
434 Bytes
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:
demo_cedula = gr.Interface(cedula_get_attributes, "file", "label")
demo_licencia = gr.Interface(license_get_attributes, "file", "label")
tabbed_interface = gr.Interface([demo_cedula, demo_licencia], title="Tabbed Interface")
tabbed_interface.launch()