precison9 commited on
Commit
ae0f765
·
verified ·
1 Parent(s): eff217e

Update flask_Character.py

Browse files
Files changed (1) hide show
  1. flask_Character.py +2 -1
flask_Character.py CHANGED
@@ -3,7 +3,8 @@
3
  # For individuals and businesses earning **under $1M per year**, this software is licensed under the **MIT License**
4
  # Businesses or organizations with **annual revenue of $1,000,000 or more** must obtain permission to use this software commercially.
5
  import os
6
- os.environ['NUMBA_DISABLE_CACHE'] = '1'
 
7
  from flask import request, jsonify
8
  import numpy as np
9
  import torch
 
3
  # For individuals and businesses earning **under $1M per year**, this software is licensed under the **MIT License**
4
  # Businesses or organizations with **annual revenue of $1,000,000 or more** must obtain permission to use this software commercially.
5
  import os
6
+ os.environ["NUMBA_CACHE_DIR"] = "/tmp/numba_cache"
7
+ os.environ["NUMBA_DISABLE_CACHE"] = "1"
8
  from flask import request, jsonify
9
  import numpy as np
10
  import torch