c1tr0n75 commited on
Commit
045deae
·
verified ·
1 Parent(s): 8539646

Removing infer_npz for the moment

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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()