Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -143,15 +143,13 @@ def predict(input_file):
|
|
143 |
with gr.Blocks() as demo:
|
144 |
gr.HTML("<img src=\"TrimbleAI_Logo_Blue.png\">")
|
145 |
gr.Markdown("#Point Cloud Segmentation - Trimble Cloud")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
|
147 |
-
|
148 |
-
demo = gr.Interface(
|
149 |
-
fn=predict,
|
150 |
-
inputs=gr.File(file_types=[".las"], file_count="single"),
|
151 |
-
outputs=["html"],
|
152 |
-
examples=["westminster.las"],
|
153 |
-
cache_examples=False,
|
154 |
-
description="This is a technology demonstration of Trimble AI's 3D Point Cloud Segmentation running on Trimble Cloud Core's Pegasus Processing Framework. The point cloud is uploaded on behalf of the user into Pegasus, then the result is offered as a downloadable link.",
|
155 |
-
)
|
156 |
-
|
157 |
-
demo.queue(concurrency_count=512, max_size=512).launch()
|
|
|
143 |
with gr.Blocks() as demo:
|
144 |
gr.HTML("<img src=\"TrimbleAI_Logo_Blue.png\">")
|
145 |
gr.Markdown("#Point Cloud Segmentation - Trimble Cloud")
|
146 |
+
gr.Interface(
|
147 |
+
fn=predict,
|
148 |
+
inputs=gr.File(file_types=[".las"], file_count="single"),
|
149 |
+
outputs=["html"],
|
150 |
+
examples=["westminster.las"],
|
151 |
+
cache_examples=False,
|
152 |
+
description="This is a technology demonstration of Trimble AI's 3D Point Cloud Segmentation running on Trimble Cloud Core's Pegasus Processing Framework. The point cloud is uploaded on behalf of the user into Pegasus, then the result is offered as a downloadable link.",
|
153 |
+
)
|
154 |
|
155 |
+
demo.queue(concurrency_count=512, max_size=512).launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|