Spaces:
sahanind
/
No application file

simplz / app.py
sahanind's picture
Update app.py
6c30a93 verified
raw
history blame
375 Bytes
import subprocess
def run_dl():
try:
subprocess.run(["python", "bdl.py"], check=True)
except subprocess.CalledProcessError as e:
print(f"Error occurred: {e}")
run_dl()
def run_web():
try:
subprocess.run(["python", "newweb.py"], check=True)
except subprocess.CalledProcessError as e:
print(f"Error occurred: {e}")
run_web()