Kalbe-x-Bangkit commited on
Commit
cfceade
1 Parent(s): 1917711

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ enhancement_type = st.sidebar.selectbox(
42
  st.sidebar.title("Detection")
43
  uploaded_detection = st.sidebar.file_uploader("Upload image to detect", type=["png", "jpg", "jpeg", "dcm"])
44
  if st.sidebar.button('Open Viewer'):
45
- webbrowser.open_new_tab("https://new-ohif-viewer-k7c3gdlxua-et.a.run.app/")
46
 
47
  # object detection ########################################################################
48
  H_detection = 224
 
42
  st.sidebar.title("Detection")
43
  uploaded_detection = st.sidebar.file_uploader("Upload image to detect", type=["png", "jpg", "jpeg", "dcm"])
44
  if st.sidebar.button('Open Viewer'):
45
+ redirect_button("https://new-ohif-viewer-k7c3gdlxua-et.a.run.app/")
46
 
47
  # object detection ########################################################################
48
  H_detection = 224