AdritRao commited on
Commit
6de1508
1 Parent(s): 2725c7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -46,12 +46,7 @@ if uploaded_zip_file is not None:
46
  plt = display_dicom_image(selected_slice, dicom_files)
47
  st.pyplot(plt)
48
 
49
- # Run the command
50
- command = f"cd Comp2Comp-main"
51
- st.write("Running command:", command)
52
-
53
- progress_bar = st.progress(0) # Initialize the progress bar
54
- process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
55
 
56
  command = f"/bin/C2C spine -i {temp_dir}"
57
  st.write("Running command:", command)
 
46
  plt = display_dicom_image(selected_slice, dicom_files)
47
  st.pyplot(plt)
48
 
49
+ os.chdir("Comp2Comp-main")
 
 
 
 
 
50
 
51
  command = f"/bin/C2C spine -i {temp_dir}"
52
  st.write("Running command:", command)