Update
Browse filesSigned-off-by: Michael_Xu <[email protected]>
app.py
CHANGED
@@ -1,5 +1,8 @@
|
|
|
|
1 |
import warnings
|
2 |
warnings.filterwarnings("ignore", category=UserWarning)
|
|
|
|
|
3 |
|
4 |
import json
|
5 |
import random
|
|
|
1 |
+
import os
|
2 |
import warnings
|
3 |
warnings.filterwarnings("ignore", category=UserWarning)
|
4 |
+
os.environ["MPLCONFIGDIR"] = "/tmp/matplotlib"
|
5 |
+
os.environ["XDG_CACHE_HOME"] = "/tmp/fontconfig"
|
6 |
|
7 |
import json
|
8 |
import random
|