AdritRao commited on
Commit
84f200a
1 Parent(s): e4ca42e

Update app.py

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