Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -140,14 +140,14 @@ def predict(input_file):
|
|
140 |
|
141 |
return html_content
|
142 |
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
|
153 |
demo.launch()
|
|
|
140 |
|
141 |
return html_content
|
142 |
|
143 |
+
demo = gr.Interface(
|
144 |
+
title="<a href=\"www.google.com\">Awesomeness</a>"
|
145 |
+
fn=predict,
|
146 |
+
inputs=gr.File(file_types=[".las"], file_count="single"),
|
147 |
+
outputs=["html"],
|
148 |
+
examples=["westminster.las"],
|
149 |
+
cache_examples=False,
|
150 |
+
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.",
|
151 |
+
).queue(concurrency_count=512, max_size=512)
|
152 |
|
153 |
demo.launch()
|