Update app.py
Browse files
app.py
CHANGED
@@ -99,13 +99,15 @@ with gr.Blocks() as interface:
|
|
99 |
"""
|
100 |
)
|
101 |
|
102 |
-
|
103 |
-
input_text = gr.Textbox(label="Texto libre para estructurar", lines=3)
|
104 |
-
nombre = gr.Textbox(label="Nombre (Obligatorio)")
|
105 |
-
email = gr.Textbox(label="Email (Obligatorio)")
|
106 |
-
imagen = gr.Image(label="Cargar Imagen (Obligatorio)")
|
107 |
output_json = gr.Textbox(label="Resultado JSON", interactive=False)
|
108 |
submit_button = gr.Button("Procesar")
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
email_button = gr.Button("Enviar por Email")
|
110 |
|
111 |
# Link the input/output and function
|
|
|
99 |
"""
|
100 |
)
|
101 |
|
102 |
+
input_text = gr.Textbox(label="Texto libre para estructurar", lines=3)
|
|
|
|
|
|
|
|
|
103 |
output_json = gr.Textbox(label="Resultado JSON", interactive=False)
|
104 |
submit_button = gr.Button("Procesar")
|
105 |
+
|
106 |
+
with gr.Row():
|
107 |
+
nombre = gr.Textbox(label="Nombre (Obligatorio)")
|
108 |
+
email = gr.Textbox(label="Email (Obligatorio)")
|
109 |
+
imagen = gr.Image(label="Cargar Imagen (Obligatorio)")
|
110 |
+
|
111 |
email_button = gr.Button("Enviar por Email")
|
112 |
|
113 |
# Link the input/output and function
|