Spaces:
Sleeping
Sleeping
Removing infer_npz for the moment
Browse files
app.py
CHANGED
@@ -82,11 +82,11 @@ with gr.Blocks(title="Voxel Path Finder") as demo:
|
|
82 |
out = gr.JSON(label="Result")
|
83 |
btn.click(infer_random, inputs=[obstacle, seed], outputs=out)
|
84 |
|
85 |
-
with gr.Tab("Upload .npz sample"):
|
86 |
-
file = gr.File(file_types=[".npz"], label="Upload sample (voxel_data, positions)")
|
87 |
-
btn2 = gr.Button("Run inference")
|
88 |
-
out2 = gr.JSON(label="Result")
|
89 |
-
btn2.click(infer_npz, inputs=file, outputs=out2)
|
90 |
|
91 |
if __name__ == "__main__":
|
92 |
demo.launch()
|
|
|
82 |
out = gr.JSON(label="Result")
|
83 |
btn.click(infer_random, inputs=[obstacle, seed], outputs=out)
|
84 |
|
85 |
+
# with gr.Tab("Upload .npz sample"):
|
86 |
+
# file = gr.File(file_types=[".npz"], label="Upload sample (voxel_data, positions)")
|
87 |
+
# btn2 = gr.Button("Run inference")
|
88 |
+
# out2 = gr.JSON(label="Result")
|
89 |
+
# btn2.click(infer_npz, inputs=file, outputs=out2)
|
90 |
|
91 |
if __name__ == "__main__":
|
92 |
demo.launch()
|