add hint
Browse files
app.py
CHANGED
@@ -69,8 +69,10 @@ with gr.Blocks(theme=gr.themes.Default(text_size="lg", radius_size="none")) as d
|
|
69 |
After hitting "Run", the model will segment the object into the provided parts.
|
70 |
For localization mode, please only provide one query string in the "queries" text box. After hitting "Run", the model will generate a heatmap for the provided query text.
|
71 |
Please click on the buttons below "Objaverse" and "In the Wild" for some examples. You can also upload your own .pcd files.</p>
|
72 |
-
<p style='font-size: 16px;'>Hint:
|
73 |
-
When
|
|
|
|
|
74 |
'''
|
75 |
)
|
76 |
|
@@ -135,9 +137,9 @@ with gr.Blocks(theme=gr.themes.Default(text_size="lg", radius_size="none")) as d
|
|
135 |
outputs=[file_upload, part_queries])
|
136 |
|
137 |
file_upload.change(
|
138 |
-
fn=
|
139 |
inputs=[file_upload],
|
140 |
-
outputs=[
|
141 |
)
|
142 |
run_button.click(
|
143 |
fn=predict,
|
|
|
69 |
After hitting "Run", the model will segment the object into the provided parts.
|
70 |
For localization mode, please only provide one query string in the "queries" text box. After hitting "Run", the model will generate a heatmap for the provided query text.
|
71 |
Please click on the buttons below "Objaverse" and "In the Wild" for some examples. You can also upload your own .pcd files.</p>
|
72 |
+
<p style='font-size: 16px;'>Hint:
|
73 |
+
When uploading your own point cloud, please first close the existing poinf cloud by clicking on the "x" button.
|
74 |
+
<br>
|
75 |
+
We show some sample queries for the provideed examples. When working with your own point cloud, feel free to rephrase the query (e.g. "part" vs "part of a object") to achieve better performance!</p>
|
76 |
'''
|
77 |
)
|
78 |
|
|
|
137 |
outputs=[file_upload, part_queries])
|
138 |
|
139 |
file_upload.change(
|
140 |
+
fn=render_pcd_file,
|
141 |
inputs=[file_upload],
|
142 |
+
outputs=[input_point_cloud],
|
143 |
)
|
144 |
run_button.click(
|
145 |
fn=predict,
|