Spaces:
Sleeping
Sleeping
salomonsky
commited on
Commit
路
e444e1f
1
Parent(s):
d745200
Update app.py
Browse files
app.py
CHANGED
@@ -43,10 +43,10 @@ def generate_output(name, birth_date):
|
|
43 |
return video_path, None
|
44 |
return None, "No se pudo generar el video"
|
45 |
|
46 |
-
name_input = gr.
|
47 |
-
birth_date_input = gr.
|
48 |
-
output = gr.
|
49 |
-
error_output = gr.
|
50 |
|
51 |
def generate_and_display_output(name, birth_date):
|
52 |
video_path, error_message = generate_output(name, birth_date)
|
|
|
43 |
return video_path, None
|
44 |
return None, "No se pudo generar el video"
|
45 |
|
46 |
+
name_input = gr.components.Textbox(lines=1, placeholder="Escribe tu nombre", label="Nombre")
|
47 |
+
birth_date_input = gr.components.Textbox(lines=1, placeholder="Fecha de Nacimiento - DD/MM/AAAA", label="Fecha de Nacimiento")
|
48 |
+
output = gr.components.Video(label="Resultado", type="mp4")
|
49 |
+
error_output = gr.components.Textbox(label="Errores")
|
50 |
|
51 |
def generate_and_display_output(name, birth_date):
|
52 |
video_path, error_message = generate_output(name, birth_date)
|