Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,13 +44,13 @@ def getProps(ifc_file_path):
|
|
| 44 |
iface = gr.Interface(
|
| 45 |
fn=getProps,
|
| 46 |
inputs=[
|
| 47 |
-
InputFile(label="Upload IFC File"),
|
| 48 |
],
|
| 49 |
outputs=[
|
| 50 |
OutputFile(label="Download XLSX"),
|
| 51 |
OutputDataframe(label="IFC Property Sets")
|
| 52 |
],
|
| 53 |
-
title="IFC Model
|
| 54 |
description="Upload an IFC file to process and download the resulting XLSX file."
|
| 55 |
)
|
| 56 |
|
|
|
|
| 44 |
iface = gr.Interface(
|
| 45 |
fn=getProps,
|
| 46 |
inputs=[
|
| 47 |
+
InputFile(label="Upload IFC File", file_count='single', file_types=[".ifc"]),
|
| 48 |
],
|
| 49 |
outputs=[
|
| 50 |
OutputFile(label="Download XLSX"),
|
| 51 |
OutputDataframe(label="IFC Property Sets")
|
| 52 |
],
|
| 53 |
+
title="IFC Model Property Sets Extractor",
|
| 54 |
description="Upload an IFC file to process and download the resulting XLSX file."
|
| 55 |
)
|
| 56 |
|