rbanfield commited on
Commit
5801913
·
1 Parent(s): 33d4679

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -140,14 +140,14 @@ def predict(input_file):
140
 
141
  return html_content
142
 
143
- with gr.Blocks() as demo:
144
- gr.Interface(
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()
 
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()