Spaces:
sahanind
/
No application file

sahanind commited on
Commit
bbb45bb
·
verified ·
1 Parent(s): c5e21eb

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -0
app.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import subprocess
2
+
3
+
4
+ def run_dl():
5
+ try:
6
+ subprocess.run(["python", "bdl.py"], check=True)
7
+ except subprocess.CalledProcessError as e:
8
+ print(f"Error occurred: {e}")
9
+
10
+ run_dl()
11
+
12
+
13
+ def run_web():
14
+ try:
15
+ subprocess.run(["python", "appweb.py"], check=True)
16
+ except subprocess.CalledProcessError as e:
17
+ print(f"Error occurred: {e}")
18
+ run_web()