File size: 438 Bytes
006413e
a9bf980
 
006413e
d9bad11
 
 
 
 
 
 
a9bf980
1
2
3
4
5
6
7
8
9
10
11
12
13
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"):
        demo_cedula = gr.Interface(cedula_get_attributes, "file", "label")
        demo_cedula.launch()
with gr.Tab("Licencia"):
        demo_licencia = gr.Interface(license_get_attributes, "file", "label")
        demo_licencia.launch()