huathedev commited on
Commit
fc8faf9
·
1 Parent(s): 6b46c5b

Update pages/01_🦷 Segment.py

Browse files
Files changed (1) hide show
  1. pages/01_🦷 Segment.py +5 -4
pages/01_🦷 Segment.py CHANGED
@@ -16,7 +16,8 @@ from stpyvista import stpyvista
16
 
17
  import torch
18
  import torch.nn as nn
19
- import torch.nn.functional as F
 
20
  from torch.autograd import Variable
21
 
22
  import streamlit as st
@@ -858,7 +859,7 @@ def segmentation_main(obj_path):
858
  # Show the plot
859
  #plotter.show()
860
  ## Send to streamlit
861
- with st.expander("**View Segmentation Result** - ", expanded=False):
862
  stpyvista(plotter)
863
 
864
  # Configure Streamlit page
@@ -890,7 +891,7 @@ class Segment(TeethApp):
890
  "✔️ Submit",
891
  help="Submit 3D scan for segmentation",
892
  )
893
- with st.expander("View Scan", expanded=False):
894
  stpyvista(plotter)
895
 
896
  if segment:
@@ -917,7 +918,7 @@ class Segment(TeethApp):
917
  "✔️ Submit",
918
  help="Submit 3D scan for segmentation",
919
  )
920
- with st.expander("View Scan", expanded=False):
921
  stpyvista(plotter)
922
 
923
  if segment:
 
16
 
17
  import torch
18
  import torch.nn as nn
19
+ import torch.nn.functional as
20
+ F
21
  from torch.autograd import Variable
22
 
23
  import streamlit as st
 
859
  # Show the plot
860
  #plotter.show()
861
  ## Send to streamlit
862
+ with st.expander("**View Segmentation Result** - scroll for zoom", expanded=False):
863
  stpyvista(plotter)
864
 
865
  # Configure Streamlit page
 
891
  "✔️ Submit",
892
  help="Submit 3D scan for segmentation",
893
  )
894
+ with st.expander("View Scan - scroll for zoom", expanded=False):
895
  stpyvista(plotter)
896
 
897
  if segment:
 
918
  "✔️ Submit",
919
  help="Submit 3D scan for segmentation",
920
  )
921
+ with st.expander("View Scan - scroll for zoom", expanded=False):
922
  stpyvista(plotter)
923
 
924
  if segment: