Spaces:
Build error
Build error
diegulio
commited on
Commit
·
360ff7a
1
Parent(s):
d9bad11
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,10 +3,12 @@ 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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
from license.app import get_attributes as license_get_attributes
|
| 4 |
|
| 5 |
#with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
+
demo_cedula = gr.Interface(cedula_get_attributes, "file", "label")
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
demo_licencia = gr.Interface(license_get_attributes, "file", "label")
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
tabbed_interface = gr.Interface([demo_cedula, demo_licencia], title="Tabbed Interface")
|
| 14 |
+
tabbed_interface.launch()
|