Spaces:
Runtime error
Runtime error
kbberendsen
commited on
Commit
·
f94c9eb
1
Parent(s):
b3344b3
change cache directory with os package
Browse files
app.py
CHANGED
@@ -5,8 +5,10 @@ import matplotlib.pyplot as plt
|
|
5 |
from matplotlib.collections import LineCollection
|
6 |
from matplotlib import cm
|
7 |
import numpy as np
|
|
|
8 |
|
9 |
-
|
|
|
10 |
|
11 |
app_ui = ui.page_fluid(
|
12 |
ui.div(
|
|
|
5 |
from matplotlib.collections import LineCollection
|
6 |
from matplotlib import cm
|
7 |
import numpy as np
|
8 |
+
import os
|
9 |
|
10 |
+
cache_dir = os.path.exists("cache")
|
11 |
+
ff1.Cache.enable_cache(cache_dir)
|
12 |
|
13 |
app_ui = ui.page_fluid(
|
14 |
ui.div(
|