diegulio commited on
Commit
d9bad11
·
1 Parent(s): 5bda305

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -2,10 +2,11 @@ import gradio as gr
2
  from cedula.app import get_attributes as cedula_get_attributes
3
  from license.app import get_attributes as license_get_attributes
4
 
5
- with gr.Blocks() as demo:
6
- with gr.Tab("Cedula"):
7
- demo_cedula = gr.Interface(cedula_get_attributes, "file", "label")
8
- with gr.Tab("Licencia"):
9
- demo_licencia = gr.Interface(license_get_attributes, "file", "label")
 
 
10
 
11
- demo.launch()
 
2
  from cedula.app import get_attributes as cedula_get_attributes
3
  from license.app import get_attributes as license_get_attributes
4
 
5
+ #with gr.Blocks() as demo:
6
+ with gr.Tab("Cedula"):
7
+ demo_cedula = gr.Interface(cedula_get_attributes, "file", "label")
8
+ demo_cedula.launch()
9
+ with gr.Tab("Licencia"):
10
+ demo_licencia = gr.Interface(license_get_attributes, "file", "label")
11
+ demo_licencia.launch()
12