abhisheksan commited on
Commit
0cec923
·
1 Parent(s): 9bed445

Refactor main.py to update Numba cache directory

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -10,7 +10,7 @@ import os
10
  import tempfile
11
  os.environ['NUMBA_DISABLE_JIT'] = '1'
12
  os.environ['NUMBA_DISABLE_FUNCTION_CACHING'] = '1'
13
- os.environ['NUMBA_CACHE_DIR'] = tempfile.gettempdir()
14
  import numba
15
 
16
  numba.config.DISABLE_JIT = True
 
10
  import tempfile
11
  os.environ['NUMBA_DISABLE_JIT'] = '1'
12
  os.environ['NUMBA_DISABLE_FUNCTION_CACHING'] = '1'
13
+ os.environ['NUMBA_CACHE_DIR'] = "../temp"
14
  import numba
15
 
16
  numba.config.DISABLE_JIT = True