AdritRao commited on
Commit
b28c1ef
1 Parent(s): 77d2518

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -7,22 +7,22 @@ import subprocess
7
 
8
  import subprocess
9
 
10
- # # Command to make the script executable
11
- # command = "chmod +x install.sh"
12
-
13
- # try:
14
- # subprocess.run(command, shell=True, check=True)
15
- # print("Script 'install.sh' has been made executable.")
16
- # except subprocess.CalledProcessError as e:
17
- # print(f"Error while making the script executable: {e}")
18
-
19
- # command = "./install.sh"
20
-
21
- # try:
22
- # subprocess.run(command, shell=True, check=True)
23
- # print("Script 'install.sh' has been made executable.")
24
- # except subprocess.CalledProcessError as e:
25
- # print(f"Error while making the script executable: {e}")
26
 
27
  # Streamlit app title
28
  st.title("DICOM Image Viewer")
 
7
 
8
  import subprocess
9
 
10
+ # Command to make the script executable
11
+ command = "chmod +x install.sh"
12
+
13
+ try:
14
+ subprocess.run(command, shell=True, check=True)
15
+ print("Script 'install.sh' has been made executable.")
16
+ except subprocess.CalledProcessError as e:
17
+ print(f"Error while making the script executable: {e}")
18
+
19
+ command = "./install.sh"
20
+
21
+ try:
22
+ subprocess.run(command, shell=True, check=True)
23
+ print("Script 'install.sh' has been made executable.")
24
+ except subprocess.CalledProcessError as e:
25
+ print(f"Error while making the script executable: {e}")
26
 
27
  # Streamlit app title
28
  st.title("DICOM Image Viewer")