Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -366,7 +366,7 @@ def create_app():
|
|
| 366 |
db_in = gr.File(label="Excel (.xlsx)", type="filepath", elem_classes="compact_file")
|
| 367 |
with gr.Group():
|
| 368 |
gr.Markdown("#### Ручной выбор:")
|
| 369 |
-
author_dd = gr.Dropdown(label="1.
|
| 370 |
cabinet_dd = gr.Dropdown(label="2. Шкаф", choices=[], interactive=True)
|
| 371 |
db_out = gr.Textbox(label="Статус базы", lines=2, max_lines=3, interactive=False)
|
| 372 |
|
|
@@ -375,7 +375,7 @@ def create_app():
|
|
| 375 |
|
| 376 |
with gr.Column(scale=1):
|
| 377 |
gr.Markdown("### 2. Документация")
|
| 378 |
-
files_in = gr.File(label="
|
| 379 |
gr.Markdown("")
|
| 380 |
btn = gr.Button("Сформировать чек-лист", variant="primary", elem_classes="orange_btn")
|
| 381 |
|
|
|
|
| 366 |
db_in = gr.File(label="Excel (.xlsx)", type="filepath", elem_classes="compact_file")
|
| 367 |
with gr.Group():
|
| 368 |
gr.Markdown("#### Ручной выбор:")
|
| 369 |
+
author_dd = gr.Dropdown(label="1. Разработчик КД", choices=[], interactive=True)
|
| 370 |
cabinet_dd = gr.Dropdown(label="2. Шкаф", choices=[], interactive=True)
|
| 371 |
db_out = gr.Textbox(label="Статус базы", lines=2, max_lines=3, interactive=False)
|
| 372 |
|
|
|
|
| 375 |
|
| 376 |
with gr.Column(scale=1):
|
| 377 |
gr.Markdown("### 2. Документация")
|
| 378 |
+
files_in = gr.File(label="конструкторская документация (PDF)", file_count="multiple", type="filepath", elem_classes="compact_file")
|
| 379 |
gr.Markdown("")
|
| 380 |
btn = gr.Button("Сформировать чек-лист", variant="primary", elem_classes="orange_btn")
|
| 381 |
|