perler commited on
Commit
4c464a9
·
1 Parent(s): 0f49923

update descriptions

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -72,6 +72,7 @@ def main():
72
  - XYZ as whitespace-separated text file,
73
  - NPY and NPZ (key='arr_0'),
74
  - LAS and LAZ (version 1.0-1.4), COPC and CRS.
 
75
  Best results for 50k-250k points.
76
  '''
77
 
@@ -79,7 +80,8 @@ def main():
79
  This method is meant for scans of single and few objects.
80
  Quality for scenes and landscapes will be lower.
81
 
82
- Inference takes up to 180 seconds.
 
83
  '''
84
 
85
  # can't render many input types directly in Gradio Model3D
@@ -116,13 +118,6 @@ def main():
116
  # # input_tabs.selected = 'pc_viewer'
117
  # # input_point_cloud_viewer.value = input_shape
118
 
119
- if (SPACE_ID := os.getenv('SPACE_ID')) is not None:
120
- description_col1 += (f'\n<p>For faster inference without waiting in queue, '
121
- f'you may duplicate the space and upgrade to GPU in settings. '
122
- f'<a href="https://huggingface.co/spaces/{SPACE_ID}?duplicate=true">'
123
- f'<img style="display: inline; margin-top: 0em; margin-bottom: 0em" '
124
- f'src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a></p>')
125
-
126
  with gr.Blocks(css='style.css') as demo:
127
  # descriptions
128
  gr.Markdown(description_header)
 
72
  - XYZ as whitespace-separated text file,
73
  - NPY and NPZ (key='arr_0'),
74
  - LAS and LAZ (version 1.0-1.4), COPC and CRS.
75
+
76
  Best results for 50k-250k points.
77
  '''
78
 
 
80
  This method is meant for scans of single and few objects.
81
  Quality for scenes and landscapes will be lower.
82
 
83
+ Reconstructions with default settings will be done in about 30 seconds.
84
+ Inference will be terminated after 180 seconds.
85
  '''
86
 
87
  # can't render many input types directly in Gradio Model3D
 
118
  # # input_tabs.selected = 'pc_viewer'
119
  # # input_point_cloud_viewer.value = input_shape
120
 
 
 
 
 
 
 
 
121
  with gr.Blocks(css='style.css') as demo:
122
  # descriptions
123
  gr.Markdown(description_header)