aikenml commited on
Commit
90b65ad
Β·
1 Parent(s): cd0c7d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -1,3 +1,13 @@
 
 
 
 
 
 
 
 
 
 
1
  from PIL.ImageOps import colorize, scale
2
  import gradio as gr
3
  import importlib
 
1
+ ################## My code
2
+ import subprocess
3
+
4
+ """Replace with the correct path to your install.sh script"""
5
+ install_script_path = "script/install.sh"
6
+
7
+ """Run the shell command"""
8
+ subprocess.run(["bash", install_script_path])
9
+
10
+ ##################
11
  from PIL.ImageOps import colorize, scale
12
  import gradio as gr
13
  import importlib