Yaron Koresh commited on
Commit
8540916
·
verified ·
1 Parent(s): 27a4916

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -20
app.py DELETED
@@ -1,20 +0,0 @@
1
- import subprocess
2
- import logging
3
- import sys
4
- import os
5
- from .app2 import entry
6
-
7
- def run(cmd):
8
- result = subprocess.run(cmd, shell=True, capture_output=True, env=None)
9
- if result.returncode != 0:
10
- logging.error(
11
- f"Command '{cmd}' failed with exit status code '{result.returncode}'. Exiting..."
12
- )
13
- sys.exit()
14
- return result
15
-
16
- if __name__ == "__main__":
17
- os.chdir(os.path.abspath(os.path.dirname(__file__)))
18
- run('export LD_LIBRARY_PATH="/usr/lib/wsl/lib/"')
19
- run('export NUMBA_CUDA_DRIVER="/usr/lib/wsl/lib/libcuda.so.1"')
20
- entry()