AdritRao commited on
Commit
106e709
1 Parent(s): aa5f2c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,13 +47,13 @@ if uploaded_zip_file is not None:
47
  st.pyplot(plt)
48
 
49
  # Run the command
50
- command = f"chmod +x Comp2Comp-main/bin/C2C"
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"Comp2Comp-main/bin/C2C spine -i {temp_dir}"
57
  st.write("Running command:", command)
58
 
59
  progress_bar = st.progress(0) # Initialize the progress bar
 
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)
58
 
59
  progress_bar = st.progress(0) # Initialize the progress bar