Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,8 +14,6 @@ max_img_desc_rows = 5
|
|
| 14 |
init_texts_rows_state = 1
|
| 15 |
init_img_desc_rows_state = 0
|
| 16 |
|
| 17 |
-
test_mode = True
|
| 18 |
-
|
| 19 |
custom_css = """
|
| 20 |
html {
|
| 21 |
height: 100%;
|
|
@@ -80,10 +78,10 @@ with gr.Blocks(css=custom_css) as demo:
|
|
| 80 |
|
| 81 |
with gr.Row(equal_height=True):
|
| 82 |
with gr.Column(scale=1, min_width=160):
|
| 83 |
-
nombre_empresa = gr.Textbox("
|
| 84 |
header_items.append(nombre_empresa)
|
| 85 |
with gr.Column(scale=1, min_width=160):
|
| 86 |
-
logo = gr.Image(
|
| 87 |
header_items.append(logo)
|
| 88 |
|
| 89 |
gr.Markdown("---")
|
|
|
|
| 14 |
init_texts_rows_state = 1
|
| 15 |
init_img_desc_rows_state = 0
|
| 16 |
|
|
|
|
|
|
|
| 17 |
custom_css = """
|
| 18 |
html {
|
| 19 |
height: 100%;
|
|
|
|
| 78 |
|
| 79 |
with gr.Row(equal_height=True):
|
| 80 |
with gr.Column(scale=1, min_width=160):
|
| 81 |
+
nombre_empresa = gr.Textbox("Nombre de la Empresa", label=None, visible = True, container = False, elem_id="text-empresa", interactive=True)
|
| 82 |
header_items.append(nombre_empresa)
|
| 83 |
with gr.Column(scale=1, min_width=160):
|
| 84 |
+
logo = gr.Image(label="Logo", elem_id="logo-upload", visible=True, interactive=True, mirror_webcam=False, sources="upload")
|
| 85 |
header_items.append(logo)
|
| 86 |
|
| 87 |
gr.Markdown("---")
|