Spaces:
Runtime error
Runtime error
Ivan Shelonik
commited on
Commit
·
ac92d72
1
Parent(s):
c6fdf85
upd: transformers cache
Browse files- api_server.py +2 -0
api_server.py
CHANGED
@@ -2,6 +2,8 @@ import os
|
|
2 |
import time
|
3 |
import numpy as np
|
4 |
|
|
|
|
|
5 |
# Disable tensorflow warnings
|
6 |
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
|
7 |
|
|
|
2 |
import time
|
3 |
import numpy as np
|
4 |
|
5 |
+
os.environ['TRANSFORMERS_CACHE'] = './artifacts/'
|
6 |
+
|
7 |
# Disable tensorflow warnings
|
8 |
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
|
9 |
|