Spaces:
Build error
Build error
diegulio
commited on
Commit
·
5bda305
1
Parent(s):
a96ff13
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,10 @@ 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.
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
9 |
|
10 |
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 |
+
with gr.Tab("Licencia"):
|
9 |
+
demo_licencia = gr.Interface(license_get_attributes, "file", "label")
|
10 |
|
11 |
demo.launch()
|